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

Sergey Senozhatsky
2016-08-18T02:36:33Z

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