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