linux/drivers/atm
Julia Lawall 73112f9b08 solos-pci: fix error return code
Return a negative error code on failure.

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

// <smpl>
@@
identifier ret; expression e1,e2;
@@
(
if (\(ret < 0\|ret != 0\))
 { ... return ret; }
|
ret = 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: David S. Miller <davem@davemloft.net>
2014-11-23 14:29:44 -05:00
..
.gitignore
adummy.c
ambassador.c atm: ambassador: use NULL instead of 0 for pointer 2014-02-19 16:39:10 -05:00
ambassador.h
atmtcp.c drivers/atm/atmtcp.c: fix error return code 2014-08-07 16:02:57 -07:00
eni.c drivers: atm: fix %d confusingly prefixed with 0x in format strings 2014-08-05 13:04:32 -07:00
eni.h eni: fix driver remove function and driver probe error path. 2012-03-16 23:13:20 -07:00
firestream.c atm: firestream: Use del_timer_sync() in teardown path 2014-03-25 21:06:02 -04:00
firestream.h atm: firestream: remove duplicate define 2013-10-21 18:46:46 -04:00
fore200e.c atm: fore200e.c: Cleaning up uninitialized variables 2014-06-02 17:11:03 -07:00
fore200e.h
he.c atm: use pci_zalloc_consistent 2014-08-08 15:57:28 -07:00
he.h
horizon.c Drivers: atm: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
horizon.h
idt77105.c atm: idt77105: Use del_timer_sync() in exit path 2014-03-25 21:06:02 -04:00
idt77105.h
idt77252_tables.h
idt77252.c atm: use pci_zalloc_consistent 2014-08-08 15:57:28 -07:00
idt77252.h
iphase.c Drivers: atm: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
iphase.h atm/iphase: rename fregt_t -> ffreg_t 2013-02-08 14:22:05 -05:00
Kconfig
lanai.c atm: simplify lanai.c by using module_pci_driver 2014-10-17 11:55:32 -04:00
Makefile
midway.h
nicstar.c atm: nicstar: remove interruptible_sleep_on_timeout 2014-02-27 15:22:46 -05:00
nicstar.h
nicstarmac.c
nicstarmac.copyright
solos-attrlist.c
solos-pci.c solos-pci: fix error return code 2014-11-23 14:29:44 -05:00
suni.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
suni.h
tonga.h
uPD98401.h
uPD98402.c
uPD98402.h
zatm.c Drivers: atm: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
zatm.h
zeprom.h