linux-stable-rt/drivers/ieee1394
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
..
Kconfig
Makefile
config_roms.c
config_roms.h
csr.c
csr.h
csr1212.c
csr1212.h
dma.c
dma.h firesat: copyrights, rename to firedtv, API conversions, fix remote control input 2009-02-24 14:51:26 +01:00
dv1394-private.h
dv1394.c Rationalize fasync return values 2009-03-16 08:34:35 -06:00
dv1394.h
eth1394.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2009-01-08 11:05:59 -08:00
eth1394.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2009-01-08 11:05:59 -08:00
highlevel.c
highlevel.h
hosts.c
hosts.h
ieee1394-ioctl.h
ieee1394.h ieee1394: support for speeds greater than S800 2009-01-28 20:31:05 +01:00
ieee1394_core.c Make ieee1394_init a fs-initcall 2009-02-26 10:32:31 -08:00
ieee1394_core.h
ieee1394_hotplug.h
ieee1394_transactions.c ieee1394: remove superfluous assertions 2009-02-24 14:51:28 +01:00
ieee1394_transactions.h firesat: copyrights, rename to firedtv, API conversions, fix remote control input 2009-02-24 14:51:26 +01:00
ieee1394_types.h
init_ohci1394_dma.c
iso.c
iso.h firesat: copyrights, rename to firedtv, API conversions, fix remote control input 2009-02-24 14:51:26 +01:00
nodemgr.c ieee1394: inherit ud vendor_id from node vendor_id 2009-02-24 14:51:27 +01:00
nodemgr.h ieee1394: add hpsb_node_read() and hpsb_node_lock() 2009-02-24 14:51:27 +01:00
ohci1394.c
ohci1394.h ieee1394: ohci1394: increase AT req. retries, fix ack_busy_X from Panasonic camcorders and others 2009-01-24 11:17:28 +01:00
pcilynx.c i2c: Delete many unused adapter IDs 2009-01-26 21:19:52 +01:00
pcilynx.h
raw1394-private.h
raw1394.c
raw1394.h
sbp2.c ieee1394: sbp2: add workarounds for 2nd and 3rd generation iPods 2009-01-29 20:19:49 +01:00
sbp2.h
video1394.c
video1394.h