[PATCH 0/2] add error handling support for add_disk()

From: Wu Bo
Date: Thu Nov 04 2021 - 04:01:24 EST


We never checked for errors on add_disk() as this function
returned void. Now that is fixed.

So add error handling support for add_disk().

Wu Bo (2):
brd: add error handling support for add_disk()
z2ram: add error handling support for add_disk()

drivers/block/brd.c | 7 ++++++-
drivers/block/z2ram.c | 8 ++++++--
2 files changed, 12 insertions(+), 3 deletions(-)

--
1.8.3.1