linux/drivers/net/wan
Jonathan Corbet 60aa49243d Rationalize fasync return values
Most fasync implementations do something like:

     return fasync_helper(...);

But fasync_helper() will return a positive value at times - a feature used
in at least one place.  Thus, a number of other drivers do:

     err = fasync_helper(...);
     if (err < 0)
             return err;
     return 0;

In the interests of consistency and more concise code, it makes sense to
map positive return values onto zero where ->fasync() is called.

Cc: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2009-03-16 08:34:35 -06:00
..
lmc
.gitignore
c101.c
cosa.c Rationalize fasync return values 2009-03-16 08:34:35 -06:00
cosa.h
cycx_drv.c
cycx_main.c
cycx_x25.c
dlci.c
dscc4.c
farsync.c
farsync.h
hd64570.c
hd64570.h
hd64572.c
hd64572.h
hdlc.c
hdlc_cisco.c
hdlc_fr.c
hdlc_ppp.c
hdlc_raw.c
hdlc_raw_eth.c
hdlc_x25.c
hostess_sv11.c
ixp4xx_hss.c WAN: Fix NAPI interface in IXP4xx HSS driver. 2009-01-12 21:18:32 -08:00
Kconfig
lapbether.c
Makefile
n2.c
pc300-falc-lh.h
pc300.h
pc300_drv.c
pc300_tty.c
pc300too.c
pci200syn.c
sbni.c
sbni.h
sdla.c
sealevel.c
wanxl.c drivers/net/wan: fix sparse warnings: make do-while a compound statement 2008-12-26 00:09:51 -08:00
wanxl.h
wanxlfw.inc_shipped
wanxlfw.S
x25_asy.c drivers/net/wan: fix sparse warning: make symbol static 2008-12-26 00:11:21 -08:00
x25_asy.h
z85230.c drivers/net/wan/z85230.c: fix sparse warnings: un-EXPORT symbols 2008-12-26 00:12:08 -08:00
z85230.h