]> git.baikalelectronics.ru Git - kernel.git/commit
pcd: add error handling support for add_disk()
authorLuis Chamberlain <mcgrof@kernel.org>
Mon, 27 Sep 2021 22:01:07 +0000 (15:01 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 20:41:36 +0000 (14:41 -0600)
commitacfbd040c05453f702fc366b705866eb5a5e9d81
treeea396cedd438d4b7cc9d0b1f761c5c5a430efd05
parent55ecaa751c0f45948709c63c933794ad26d645d3
pcd: 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/paride/pcd.c