mtip32xx: fix error return code in mtip_pci_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 22 Mar 2013 14:58:23 +0000 (08:58 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 22 Mar 2013 14:58:23 +0000 (08:58 -0600)
commitd137c8306c748d89260400176613b5a85574b255
treeb8f175724538e06ecec6680656626ac25ce2ffd4
parent7fbaee72ff62843198980c258d09590536681b15
mtip32xx: fix error return code in mtip_pci_probe()

Fix to return a negative error code from the error handling
case instead of 0, as returned elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/mtip32xx/mtip32xx.c