]> git.baikalelectronics.ru Git - kernel.git/commit
block/rsxx: add error handling support for add_disk()
authorLuis Chamberlain <mcgrof@kernel.org>
Mon, 27 Sep 2021 22:01:53 +0000 (15:01 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 20:41:36 +0000 (14:41 -0600)
commite6124a9b05673fd109b7d79b49e5dd75f9fd8651
treeabf5cdfc387701491a255ac3548ab07418bb83ac
parenta5ef289166cb4563fd8bdde76030179ffbfe62dd
block/rsxx: add error handling support for add_disk()

We never checked for errors on add_disk() as this function
returned void. Now that this is fixed, use the shiny new
error handling.

Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rsxx/core.c
drivers/block/rsxx/dev.c