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

From
Sergey Senozhatsky <hidden>
Date
2016-08-18 02:36:29
Also in
linux-nvme, linuxppc-dev, lkml, virtualization
Reply to
Fam Zheng, 2016-08-17
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
Thread (26 messages) 26 messages, 6 authors, last reply 2016-09-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help