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
Luis has an outstanding series that also covers these two drivers.
On 2021/11/4 16:45, Christoph Hellwig wrote:
> Luis has an outstanding series that also covers these two drivers.
> .
>
OK, Please ignore this patch.
Thanks.
Wu Bo