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 RDMA/nes: Update copyright and branding string 2009-12-09 15:21:56 -08:00
Makefile RDMA/nes: Support for Packed And Unaligned fpdus 2011-10-10 10:54:47 -07:00
nes_cm.c RDMA/nes: Slight optimization of Ethernet address compare 2014-01-22 23:22:26 -08:00
nes_cm.h RDMA/nes: Copyright update 2012-01-30 16:18:07 -08:00
nes_context.h RDMA/nes: Copyright update 2012-01-30 16:18:07 -08:00
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 RDMA/nes: Copyright update 2012-01-30 16:18:07 -08:00
nes_mgt.c RDMA/nes: Use WARN() 2012-11-22 00:49:15 -08:00
nes_mgt.h RDMA/nes: Copyright update 2012-01-30 16:18:07 -08:00
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 RDMA/nes: Copyright update 2012-01-30 16:18:07 -08:00
nes_utils.c RDMA/nes: Print hardware resource type 2012-09-30 20:34:55 -07:00
nes_verbs.c RDMA/nes: Remove self-assignment from nes_query_qp() 2013-11-09 02:34:27 -08:00
nes_verbs.h RDMA/nes: Copyright update 2012-01-30 16:18:07 -08:00
nes.c RDMA/nes: Fix error return code 2014-02-12 11:11:09 -08:00
nes.h RDMA/nes: Fix for terminate timer crash 2012-12-08 00:31:02 -08:00