]> git.baikalelectronics.ru Git - kernel.git/commit
swim3: add real error handling in setup
authorOmar Sandoval <osandov@fb.com>
Thu, 11 Oct 2018 19:20:43 +0000 (12:20 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 16 Oct 2018 15:49:26 +0000 (09:49 -0600)
commit9402f24e9e8c2f20d293addc5489c0e7101f9dfc
tree7497a8d07bbeac095cffcfcba481dd55ed2a67a2
parent8ecab7348f83d0e9876d3b008031d63e2ea09d91
swim3: add real error handling in setup

The driver doesn't have support for removing a device that has already
been configured, but with more careful ordering we can avoid the need
for that and make sure that we don't leak generic resources.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/swim3.c