diff options
author | Luis Chamberlain <mcgrof@kernel.org> | 2021-11-03 16:04:32 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-11-04 05:48:50 -0600 |
commit | ed73919124b2e48490adbbe48ffe885a2a4c6fee (patch) | |
tree | 6cdafcef20ffa374710c22104ca79458f8a6b992 /lib/test_fortify/write_overflow-strcpy-lit.c | |
parent | f583eaef0af39b792d74e39721b5ba4b6948a270 (diff) |
mtd/ubi/block: 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.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/r/20211103230437.1639990-10-mcgrof@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy-lit.c')
0 files changed, 0 insertions, 0 deletions