[PATCH v2 00/14] block: 6th batch of add_disk() error handling conversions
From: Luis Chamberlain
Date: Mon Sep 27 2021 - 18:05:21 EST
This is the 6th series of driver conversions for add_disk() error
handling. This set alog with the other 7th set of driver conversions
can be found on my 20210927-for-axboe-add-disk-error-handling branch[0].
It would seem the floppy world is not so exciting and so
the only change does in this v2 iteration is rebasing the patches onto
linux-next tag 20210927.
[0] https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git/log/?h=20210927-for-axboe-add-disk-error-handling
Luis Chamberlain (14):
block/swim3: add error handling support for add_disk()
floppy: fix add_disk() assumption on exit due to new developments
floppy: use blk_cleanup_disk()
floppy: fix calling platform_device_unregister() on invalid drives
floppy: add error handling support for add_disk()
amiflop: add error handling support for add_disk()
swim: simplify using blk_cleanup_disk() on swim_remove()
swim: add helper for disk cleanup
swim: add a floppy registration bool which triggers del_gendisk()
swim: add error handling support for add_disk()
block/ataflop: use the blk_cleanup_disk() helper
block/ataflop: add registration bool before calling del_gendisk()
block/ataflop: provide a helper for cleanup up an atari disk
block/ataflop: add error handling support for add_disk()
drivers/block/amiflop.c | 7 ++++--
drivers/block/ataflop.c | 47 +++++++++++++++++++++++++----------------
drivers/block/floppy.c | 34 +++++++++++------------------
drivers/block/swim.c | 35 ++++++++++++++++++------------
drivers/block/swim3.c | 4 +++-
5 files changed, 71 insertions(+), 56 deletions(-)
--
2.30.2