diff options
author | Luis Chamberlain <mcgrof@kernel.org> | 2021-09-27 15:01:49 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-18 14:41:36 -0600 |
commit | 7b505627568c088b364705a86234fa1f2beb01b9 (patch) | |
tree | d6ebc2ebe890d2d957cf865c130431c369c2158b /drivers/block/rsxx/core.c | |
parent | mtip32xx: add error handling support for add_disk() (diff) | |
download | linux-dev-7b505627568c088b364705a86234fa1f2beb01b9.tar.xz linux-dev-7b505627568c088b364705a86234fa1f2beb01b9.zip |
pktcdvd: 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.
The out_mem2 error label already does what we need so
re-use that.
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/rsxx/core.c')
0 files changed, 0 insertions, 0 deletions