linux/drivers/infiniband/ulp
Leon Romanovsky dc892e17bb IB/ipoib: Clean error paths in add port
Refactor error paths in ipoib_add_port() function. The code flow
ensures that the function terminates on every error flow and it makes
redundant all "else" cases.

The functions are called during the flow are returning "result < 0", in
case of error, so there is no need to check it explicitly.

Fixes: 58e9cc90cd ("IB/IPoIB: Fix bad error flow in ipoib_add_port()")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
2017-07-23 09:45:11 +03:00
..
ipoib IB/ipoib: Clean error paths in add port 2017-07-23 09:45:11 +03:00
iser RDMA/iser: don't send an rkey if all data is written as immadiate-data 2017-07-20 11:20:50 -04:00
isert iser-target: Avoid isert_conn->cm_id dereference in isert_login_recv_done 2017-07-06 23:11:35 -07:00
opa_vnic Fixes #3 for 4.12-rc 2017-07-06 11:45:08 -07:00
srp RDMA/SA: Fix kernel panic in CMA request handler flow 2017-06-01 17:20:14 -04:00
srpt IB/srpt: Make a debug statement in srpt_abort_cmd() more informative 2017-07-06 22:58:01 -07:00
Makefile IB/opa-vnic: Virtual Network Interface Controller (VNIC) netdev 2017-04-20 12:01:38 -04:00