linux/drivers/infiniband/hw/nes
Julia Lawall d07875bd0d RDMA/nes: 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:09 -08:00
..
Kconfig
Makefile
nes.c RDMA/nes: Fix error return code 2014-02-12 11:11:09 -08:00
nes.h
nes_cm.c RDMA/nes: Slight optimization of Ethernet address compare 2014-01-22 23:22:26 -08:00
nes_cm.h
nes_context.h
nes_hw.c Revert "RDMA/nes: Fix compilation error when nes_debug is enabled" 2013-07-30 15:48:35 -07:00
nes_hw.h
nes_mgt.c
nes_mgt.h
nes_nic.c net: vlan: rename NETIF_F_HW_VLAN_* feature flags to NETIF_F_HW_VLAN_CTAG_* 2013-04-19 14:45:26 -04:00
nes_user.h
nes_utils.c
nes_verbs.c RDMA/nes: Remove self-assignment from nes_query_qp() 2013-11-09 02:34:27 -08:00
nes_verbs.h