linux-stable/drivers/net/can
Peter Senna Tschudin 4a4bfdcd29 can: peak_pci: fix error return code
Convert a nonnegative error return code to a negative one, as returned
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: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2012-10-04 19:24:39 +02:00
..
c_can can: c_can: fix segfault during rmmod 2012-09-27 16:34:02 +02:00
cc770 can: mark bittiming_const pointer in struct can_priv as const 2012-07-20 12:31:05 +02:00
mscan Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2012-10-02 13:38:27 -07:00
sja1000 can: peak_pci: fix error return code 2012-10-04 19:24:39 +02:00
softing can: softing: Fix potential memory leak in softing_load_fw() 2012-08-24 10:54:05 +02:00
usb can: usb: peak: rename peak_usb dump_mem function 2012-09-21 23:58:48 +02:00
at91_can.c can: mark bittiming_const pointer in struct can_priv as const 2012-07-20 12:31:05 +02:00
bfin_can.c can: mark bittiming_const pointer in struct can_priv as const 2012-07-20 12:31:05 +02:00
dev.c can: dev: fix sparse warning for can_restart 2012-07-02 11:07:25 +02:00
flexcan.c flexcan: disable bus error interrupts for the i.MX28 2012-10-01 17:18:21 -04:00
janz-ican3.c can: janz-ican3: fix support for older hardware revisions 2012-09-21 12:54:52 +02:00
Kconfig can: Kconfig: add more information about Intel EG20T PCH CAN controller 2012-02-03 01:21:26 +01:00
Makefile can: cc770: add driver core for the Bosch CC770 and Intel AN82527 2011-12-01 13:09:31 -05:00
mcp251x.c can: mcp251x: avoid repeated frame bug 2012-09-03 20:12:06 +02:00
pch_can.c can: mark bittiming_const pointer in struct can_priv as const 2012-07-20 12:31:05 +02:00
slcan.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
ti_hecc.c can: ti_hecc: fix oops during rmmod 2012-09-21 12:54:53 +02:00
vcan.c vcan: add CAN FD support 2012-06-19 21:40:20 +02:00