]> git.karo-electronics.de Git - linux-beck.git/commit
mtip32xx: fix error handling in mtip_init()
authorRyosuke Saito <raitosyo@gmail.com>
Thu, 5 Apr 2012 14:09:34 +0000 (08:09 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 5 Apr 2012 14:09:34 +0000 (08:09 -0600)
commit6d27f09a6398ee086b11804aa3a16609876f0c7c
tree2303eacd5a35acec2d94cb0c2f25121e15acee9d
parente9986f303dc0f285401de28cf96f42f4dd23a4a1
mtip32xx: fix error handling in mtip_init()

Ensure that block device is properly unregistered, if
pci_register_driver() fails.

Signed-off-by: Ryosuke Saito <raitosyo@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/mtip32xx/mtip32xx.c