summaryrefslogtreecommitdiff
path: root/include/rdma/ib_marshall.h
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@dev.mellanox.co.il>2013-01-24 01:54:17 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-01-28 05:13:57 (GMT)
commitf356fcbe12c1174713e83651b630330f8f0f8415 (patch)
tree8e5582ef389f5567b764806f175477162415f50c /include/rdma/ib_marshall.h
parentdbd501a80671180a8f3cdf93ca465959031fef18 (diff)
downloadlinux-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_marshall.h')
0 files changed, 0 insertions, 0 deletions