]> www.infradead.org Git - users/dwmw2/linux.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)
commit278167fd2f8ffe679351605fe03e29ff3ab8db18
tree685d3d0485a3002c8bf1ff8e05a9054543ce582c
parentecaf97f474447821ade290cebbe82bc9b6b23cff
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