diff options
author | Luis Chamberlain <mcgrof@kernel.org> | 2021-10-16 02:52:16 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-30 20:03:37 +0300 |
commit | ff4cbe0fcf5d749f76040f782f0618656cd23e33 (patch) | |
tree | 8e76baa50b5e40f18cf6a5cc6428d7c0dd662dff /drivers/block/ps3vram.c | |
parent | 5e2e1cc4131cf4d21629c94331f2351b7dc8b87c (diff) | |
download | linux-ff4cbe0fcf5d749f76040f782f0618656cd23e33.tar.xz |
ps3disk: 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.
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Tested-by: Geoff Levand <geoff@infradead.org>
Link: https://lore.kernel.org/r/20211015235219.2191207-11-mcgrof@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/ps3vram.c')
0 files changed, 0 insertions, 0 deletions