Home
last modified time | relevance | path

Searched hist:"66638 f16" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/um/drivers/
H A Dubd_kern.c66638f16 Fri Oct 15 18:30:26 CDT 2021 Luis Chamberlain <mcgrof@kernel.org> 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>