This is the third set of block drivers add_disk() error handling patches. It's a bit bigger set than the first two sets given the pcd/pf/pd drivers could use some love before the conversions. Please let me know if you spot any issues. The full set of changes can be found on my branch titled 20210830-for-axboe-add-disk-error-handling-v2 [0]. [0] https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git/log/?h=20210830-for-axboe-add-disk-error-handling-v2 Christoph Hellwig (4): pcd: move the identify buffer into pcd_identify pcd: cleanup initialization pf: cleanup initialization pd: cleanup initialization Luis Chamberlain (11): z2ram: add error handling support for add_disk() aoe: add error handling support for add_disk() m68k/emu/nfblock: add error handling support for add_disk() drbd: add error handling support for add_disk() um/drivers/ubd_kern: add error handling support for add_disk() xtensa/platforms/iss/simdisk: add error handling support for add_disk() n64cart: add error handling support for add_disk() pcd: add error handling support for add_disk() pcd: fix ordering of unregister_cdrom() pcd: capture errors on cdrom_register() pd: add error handling support for add_disk() arch/m68k/emu/nfblock.c | 9 +- arch/um/drivers/ubd_kern.c | 13 +- arch/xtensa/platforms/iss/simdisk.c | 13 +- drivers/block/aoe/aoeblk.c | 6 +- drivers/block/drbd/drbd_main.c | 6 +- drivers/block/n64cart.c | 12 +- drivers/block/paride/pcd.c | 304 +++++++++++++--------------- drivers/block/paride/pd.c | 146 ++++++------- drivers/block/paride/pf.c | 223 +++++++++----------- drivers/block/z2ram.c | 7 +- 10 files changed, 365 insertions(+), 374 deletions(-) -- 2.30.2