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-10-15 18:06:32 -07:00
2021-10-17 17:17:28 -10:00
2021-10-17 17:17:28 -10:00
2021-10-08 11:57:54 -07:00
2021-10-09 09:07:58 -07:00
2021-10-12 13:07:37 +02:00