commit | 83b863f4a3f0de4ece7802d9121fed0c3e64145f | [log] [tgz] |
---|---|---|
author | Luis Chamberlain <mcgrof@kernel.org> | Fri Oct 15 16:30:28 2021 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Oct 21 09:00:56 2021 -0600 |
tree | 99d9ac2e4116126be4c22b10d20eb6226c5604ee | |
parent | 2e9e31bea01997450397d64da43b6675e0adb9e3 [diff] |
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>