]> git.baikalelectronics.ru Git - kernel.git/commit
block: add __must_check for *add_disk*() callers
authorLuis Chamberlain <mcgrof@kernel.org>
Wed, 10 Nov 2021 00:29:49 +0000 (16:29 -0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 10 Nov 2021 02:19:34 +0000 (19:19 -0700)
commit5d9701900ce47ddce33fc9738c6bcad5eb659aa8
tree685d3d0485a3002c8bf1ff8e05a9054543ce582c
parent657d4dfa854bb93b91bc623ae92dd2d7e4911dc8
block: add __must_check for *add_disk*() callers

Now that we have done a spring cleaning on all drivers and added
error checking / handling, let's keep it that way and ensure
no new drivers fail to stick with it.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20211110002949.999380-1-mcgrof@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c
include/linux/genhd.h