Luis Chamberlain 66638f163a um/drivers/ubd_kern: 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.

ubd_disk_register() never returned an error, so just fix
that now and let the caller handle the error condition.

Reviewed-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/r/20211015233028.2167651-8-mcgrof@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-10-21 09:00:56 -06:00
..
2021-07-27 12:17:21 +02:00
2020-12-13 22:22:08 +01:00
2020-12-13 22:22:08 +01:00
2020-12-13 22:22:29 +01:00
2021-02-12 21:38:52 +01:00
2021-02-12 21:38:52 +01:00
2020-12-13 22:38:28 +01:00