WSL2-Linux-Kernel/arch
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
..
alpha alpha: enable GENERIC_PCI_IOMAP unconditionally 2021-09-19 10:37:00 -07:00
arc ARC: fix potential build snafu 2021-10-15 18:06:32 -07:00
arm Driver core fixes for 5.15-rc6 2021-10-17 17:17:28 -10:00
arm64 Driver core fixes for 5.15-rc6 2021-10-17 17:17:28 -10:00
csky csky: Make HAVE_TCM depend on !COMPILE_TEST 2021-10-16 07:20:12 +08:00
h8300 Merge branch 'akpm' (patches from Andrew) 2021-09-08 12:55:35 -07:00
hexagon Merge branch 'akpm' (patches from Andrew) 2021-09-08 12:55:35 -07:00
ia64 firmware: include drivers/firmware/Kconfig unconditionally 2021-10-07 16:51:26 +02:00
m68k m68k/emu/nfblock: add error handling support for add_disk() 2021-10-21 09:00:56 -06:00
microblaze Microblaze patches for 5.15-rc1 2021-09-08 16:02:13 -07:00
mips arch: remove spurious blkdev.h includes 2021-10-18 06:17:01 -06:00
nds32 nds32/setup: remove unused memblock_region variable in setup_memory() 2021-09-08 18:45:53 -07:00
nios2 NIOS2: setup.c: drop unused variable 'dram_start' 2021-09-27 08:34:54 -05:00
openrisc arch: remove spurious blkdev.h includes 2021-10-18 06:17:01 -06:00
parisc asm-generic: build fixes for v5.15 2021-10-08 11:57:54 -07:00
powerpc mm: don't include <linux/blk-cgroup.h> in <linux/backing-dev.h> 2021-10-18 06:17:01 -06:00
riscv RISC-V Fixes for 5.15-rc5 2021-10-09 09:07:58 -07:00
s390 s390: fix strrchr() implementation 2021-10-12 13:07:37 +02:00
sh sh: pgtable-3level: fix cast to pointer from integer of different size 2021-09-24 16:13:35 -07:00
sparc sparc64: fix pci_iounmap() when CONFIG_PCI is not set 2021-09-20 10:56:32 -07:00
um um/drivers/ubd_kern: add error handling support for add_disk() 2021-10-21 09:00:56 -06:00
x86 - Add Sapphire Rapids to the list of CPUs supporting the SMI count MSR 2021-10-17 17:34:18 -10:00
xtensa xtensa/platforms/iss/simdisk: add error handling support for add_disk() 2021-10-18 14:41:37 -06:00
.gitignore
Kconfig Merge branch 'akpm' (patches from Andrew) 2021-09-08 12:55:35 -07:00