Skip to content
Commit db8eda9c authored by Luis Chamberlain's avatar Luis Chamberlain Committed by Jens Axboe
Browse files

xtensa/platforms/iss/simdisk: 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: default avatarLuis Chamberlain <mcgrof@kernel.org>
Acked-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
Link: https://lore.kernel.org/r/20210927220110.1066271-7-mcgrof@kernel.org
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 2f151070
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment