]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Fix error return code in init_one()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 29 Jul 2013 23:54:26 +0000 (07:54 +0800)
committerRoland Dreier <roland@purestorage.com>
Wed, 31 Jul 2013 21:12:07 +0000 (14:12 -0700)
commit966b08820cab61261865fd5cad4d698bd4f48691
tree7e8f8920e48b403d6cf0e904e5ec07c4cca3f6a2
parenta3079e9139cd68a2ce172277272f72e0aa13bdb1
IB/mlx5: Fix error return code in init_one()

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

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx5/main.c