linux_dsm_epyc7002/drivers/infiniband/hw
Julia Lawall ab576627c8 RDMA/amso1100: Fix error return code
Set the return variable to an error code as done elsewhere in the function.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
(
if@p1 (\(ret < 0\|ret != 0\))
 { ... return ret; }
|
ret@p1 = 0
)
... when != ret = e1
    when != &ret
*if(...)
{
  ... when != ret = e2
      when forall
 return ret;
}

// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2014-02-12 11:11:46 -08:00
..
amso1100 RDMA/amso1100: Fix error return code 2014-02-12 11:11:46 -08:00
cxgb3 RDMA/cma: Add IPv6 support for iWARP 2013-08-12 12:32:31 -07:00
cxgb4 RDMA/cxgb4: Fix gcc warning on 32-bit arch 2014-01-22 23:07:09 -08:00
ehca IB/core: Ethernet L2 attributes in verbs/cm structures 2014-01-14 14:20:54 -08:00
ipath IB/core: Ethernet L2 attributes in verbs/cm structures 2014-01-14 14:20:54 -08:00
mlx4 Merge branch 'ip-roce' into for-next 2014-01-22 23:24:21 -08:00
mlx5 Merge branch 'ip-roce' into for-next 2014-01-22 23:24:21 -08:00
mthca IB/core: Ethernet L2 attributes in verbs/cm structures 2014-01-14 14:20:54 -08:00
nes RDMA/nes: Slight optimization of Ethernet address compare 2014-01-22 23:22:26 -08:00
ocrdma Merge branch 'ip-roce' into for-next 2014-01-22 23:24:21 -08:00
qib Merge branch 'ip-roce' into for-next 2014-01-22 23:24:21 -08:00
usnic IB/usnic: Remove unused includes of <linux/version.h> 2014-01-22 23:05:51 -08:00