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

Sergey Senozhatsky sergey.senozhatsky.work at gmail.com
Wed Aug 17 19:36:33 PDT 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 linux-mtd mailing list