commit | 21fd880d3da7564bab68979417cab7408e4f9642 | [log] [tgz] |
---|---|---|
author | Luis Chamberlain <mcgrof@kernel.org> | Fri Oct 15 16:30:25 2021 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Oct 21 09:00:56 2021 -0600 |
tree | 3715b93015ae13a69508f11e85136198463a2885 | |
parent | 293a7c528803321479593d42d0898bb5a9769db1 [diff] |
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>