diff options
author | Luis Chamberlain <mcgrof@kernel.org> | 2021-10-15 16:30:28 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-21 09:00:56 -0600 |
commit | 83b863f4a3f0de4ece7802d9121fed0c3e64145f (patch) | |
tree | 99d9ac2e4116126be4c22b10d20eb6226c5604ee /Makefile | |
parent | 2e9e31bea01997450397d64da43b6675e0adb9e3 (diff) | |
download | linux-83b863f4a3f0de4ece7802d9121fed0c3e64145f.tar.bz2 |
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 'Makefile')
0 files changed, 0 insertions, 0 deletions