[PATCH 15/15] block: Add FIXME comment to handle device_add_disk error

Sergey Senozhatsky sergey.senozhatsky.work at gmail.com
Thu Aug 18 12:36:33 AEST 2016


On (08/17/16 15:15), Fam Zheng wrote:
[..]
>   (
>     rc = device_add_disk(e1, e2, e3);
>   |
>   + /* FIXME: handle error. */
>     device_add_disk(e1, e2, e3);

or use __must_check for device_add_disk() function?
/* which is _attribute__((warn_unused_result)) */

	-ss


More information about the Linuxppc-dev mailing list