diff options
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | 2013-01-24 01:54:17 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-28 05:13:57 (GMT) |
commit | f356fcbe12c1174713e83651b630330f8f0f8415 (patch) | |
tree | 8e5582ef389f5567b764806f175477162415f50c /include/rdma/ib_addr.h | |
parent | dbd501a80671180a8f3cdf93ca465959031fef18 (diff) | |
download | linux-fsl-qoriq-f356fcbe12c1174713e83651b630330f8f0f8415.tar.xz |
net/mlx4_core: Return proper error code when __mlx4_add_one fails
Returning 0 (success) when in fact we are aborting the load, leads to kernel
panic when unloading the module. Fix that by returning the actual error code.
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/rdma/ib_addr.h')
0 files changed, 0 insertions, 0 deletions