diff options
author | Luis Chamberlain <mcgrof@kernel.org> | 2021-10-15 16:52:14 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-30 11:03:37 -0600 |
commit | 5e2e1cc4131cf4d21629c94331f2351b7dc8b87c (patch) | |
tree | 3d491e63050115679a219ac25620353d6702d776 /drivers/block/ps3disk.c | |
parent | 15dfc662ef31a20b59097d59b0792b06770255fa (diff) | |
download | lwn-5e2e1cc4131cf4d21629c94331f2351b7dc8b87c.tar.gz lwn-5e2e1cc4131cf4d21629c94331f2351b7dc8b87c.zip |
zram: 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>
Acked-by: Minchan Kim <minchan@kernel.org>
Link: https://lore.kernel.org/r/20211015235219.2191207-9-mcgrof@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/ps3disk.c')
0 files changed, 0 insertions, 0 deletions