linux/arch/um
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
..
configs kunit: Move default config from arch/um -> tools/testing/kunit 2021-06-23 17:49:17 -06:00
drivers um/drivers/ubd_kern: add error handling support for add_disk() 2021-10-21 09:00:56 -06:00
include Kbuild updates for v5.15 2021-09-03 15:33:47 -07:00
kernel This pull request contains the following changes for UML: 2021-09-09 13:45:26 -07:00
os-Linux isystem: trim/fixup stdarg.h and other headers 2021-08-19 09:02:55 +09:00
scripts License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Kbuild kbuild: require all architectures to have arch/$(SRCARCH)/Kbuild 2021-05-26 23:10:37 +09:00
Kconfig This pull request contains the following changes for UML: 2021-09-09 13:45:26 -07:00
Kconfig.debug um: Disable CONFIG_GCOV with MODULES 2021-04-15 23:10:33 +02:00
Makefile kbuild: do not require sub-make for separate output tree builds 2021-08-10 08:23:39 +09:00
Makefile-os-Linux
Makefile-skas