linux_dsm_epyc7002/drivers/net/can/sja1000
Peter Senna Tschudin ba9b6f9f7a can: peak_pcmcia: 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:26:22 +02:00
..
ems_pci.c net/can: use module_pci_driver 2012-04-16 21:08:18 +02:00
ems_pcmcia.c
Kconfig Fix "the the" in various Kconfig 2012-04-18 14:12:27 +02:00
kvaser_pci.c net/can: use module_pci_driver 2012-04-16 21:08:18 +02:00
Makefile can: sja1000: add support for PEAK-System PCMCIA card 2012-03-03 17:40:46 +01:00
peak_pci.c can: peak_pci: fix error return code 2012-10-04 19:24:39 +02:00
peak_pcmcia.c can: peak_pcmcia: fix error return code 2012-10-04 19:26:22 +02:00
plx_pci.c net/can: use module_pci_driver 2012-04-16 21:08:18 +02:00
sja1000_isa.c
sja1000_of_platform.c
sja1000_platform.c can: sja1000_platform: fix wrong flag IRQF_SHARED for interrupt sharing 2012-08-24 10:54:05 +02:00
sja1000.c can: sja1000: Add support for listen-only mode and one-shot mode 2012-09-22 15:26:53 -04:00
sja1000.h
tscan1.c