diff options
author | Luis Chamberlain <mcgrof@kernel.org> | 2021-10-16 01:30:28 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-21 17:00:56 +0200 |
commit | 83b863f4a3f0de4ece7802d9121fed0c3e64145f (patch) | |
tree | 99d9ac2e4116126be4c22b10d20eb6226c5604ee /drivers/block/Kconfig | |
parent | rnbd: add error handling support for add_disk() (diff) | |
download | linux-83b863f4a3f0de4ece7802d9121fed0c3e64145f.tar.xz linux-83b863f4a3f0de4ece7802d9121fed0c3e64145f.zip |
mtd: add add_disk() error handling
We never checked for errors on add_disk() as this function
returned void. Now that this is fixed, use the shiny new
error handling.
Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/r/20211015233028.2167651-10-mcgrof@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/Kconfig')
0 files changed, 0 insertions, 0 deletions