linux-stable/drivers/block/mtip32xx
Luis Chamberlain 4a32e1cdb7 mtip32xx: 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.

The read_capacity_error error label already does what we need,
so just re-use that.

Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-10-18 14:41:36 -06:00
..
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mtip32xx.c mtip32xx: add error handling support for add_disk() 2021-10-18 14:41:36 -06:00
mtip32xx.h mtip32xx: remove the call to fsync_bdev on removal 2020-12-01 14:53:38 -07:00