Luis Chamberlain 21fd880d3d m68k/emu/nfblock: 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: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/r/20211015233028.2167651-7-mcgrof@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-10-21 09:00:56 -06:00
..
2021-09-24 13:35:07 +02:00
2021-09-24 13:35:07 +02:00
2021-08-30 18:52:11 -07:00
2021-09-24 13:35:07 +02:00
2021-09-24 13:35:07 +02:00
2021-09-24 13:35:07 +02:00
2021-09-24 13:35:07 +02:00
2021-09-24 13:35:07 +02:00
2021-09-24 13:35:07 +02:00
2021-09-24 13:35:07 +02:00
2020-03-09 11:12:19 +01:00
2021-07-10 11:01:38 -07:00