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

From: Sergey Senozhatsky
Date: Wed Aug 17 2016 - 22:36:32 EST


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