linux-stable/drivers/mtd/ubi
Luis Chamberlain ed73919124 mtd/ubi/block: 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.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/r/20211103230437.1639990-10-mcgrof@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-11-04 05:48:50 -06:00
..
attach.c mtd: Convert fallthrough comments into statements 2020-03-30 10:14:54 +02:00
block.c mtd/ubi/block: add error handling support for add_disk() 2021-11-04 05:48:50 -06:00
build.c ubi: Fix fall-through warnings for Clang 2021-04-15 22:00:43 +02:00
cdev.c compat_ioctl: move drivers to compat_ptr_ioctl 2019-10-23 17:23:43 +02:00
debug.c ubifs: fix snprintf() checking 2021-06-18 22:04:47 +02:00
debug.h
eba.c ubi: eba: Delete useless kfree code 2021-02-12 21:53:22 +01:00
fastmap-wl.c ubi: fastmap: Free fastmap next anchor peb during detach 2020-08-02 23:56:13 +02:00
fastmap.c ubi: Select fastmap anchor PEBs considering wear level rules 2020-06-02 22:53:05 +02:00
gluebi.c mtd: ubi: gluebi: Fix misnamed function parameter documentation 2020-11-20 12:37:32 +01:00
io.c ubi: remove dead code in validate_vid_hdr() 2021-02-12 21:53:22 +01:00
kapi.c mtd: ubi: kapi: Correct documentation for 'ubi_leb_read_sg's 'sgl' parameter 2020-11-20 12:37:31 +01:00
Kconfig
Makefile
misc.c
ubi-media.h ubi: ubi-media.h: Replace zero-length array with flexible-array member 2020-03-30 23:02:37 +02:00
ubi.h ubi: Remove unnecessary struct declaration 2021-04-15 22:01:25 +02:00
upd.c
vmt.c
vtbl.c ubi: Free the normal volumes in error paths of ubi_attach_mtd_dev() 2020-01-16 23:35:59 +01:00
wl.c mtd: ubi: wl: Fix a couple of kernel-doc issues 2020-11-20 12:37:31 +01:00
wl.h ubi: Fix producing anchor PEBs 2019-11-17 22:45:57 +01:00