]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa/platforms/iss/simdisk: add error handling support for add_disk()
authorLuis Chamberlain <mcgrof@kernel.org>
Mon, 27 Sep 2021 22:01:01 +0000 (15:01 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 20:41:37 +0000 (14:41 -0600)
commit766dfd33d7c1309f67e8a989612a4957fd9c281e
treedfcfae538bec0940dccbac280284df9372990763
parent1d3f08cef5f3216416c123a269154949fe418e2a
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: Luis Chamberlain <mcgrof@kernel.org>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Link: https://lore.kernel.org/r/20210927220110.1066271-7-mcgrof@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
arch/xtensa/platforms/iss/simdisk.c