1
linux/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
..
config_roms.c
config_roms.h
csr1212.c ieee1394: ignore nonzero Bus_Info_Block.max_rom, fetch config ROM in quadlets 2009-01-04 23:50:34 +01:00
csr1212.h ieee1394: mark bus_info_data as a __be32 array 2009-01-04 23:50:35 +01:00
csr.c ieee1394: consolidate uses of IEEE1934_BUSID_MAGIC 2009-01-04 23:50:34 +01:00
csr.h ieee1394: replace CSR_SET_BUS_INFO_GENERATION macro 2009-01-04 23:50:35 +01:00
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 ieee1394: dv1394: annotate frame input/output structs as little endian 2009-01-04 23:50:36 +01:00
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 ieee1394: mark all hpsb_address_ops instances as const 2009-01-04 23:50:32 +01:00
highlevel.h ieee1394: mark all hpsb_address_ops instances as const 2009-01-04 23:50:32 +01:00
hosts.c ieee1394: replace CSR_SET_BUS_INFO_GENERATION macro 2009-01-04 23:50:35 +01:00
hosts.h ieee1394: mark bus_info_data as a __be32 array 2009-01-04 23:50:35 +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
ieee1394-ioctl.h
ieee1394.h ieee1394: support for speeds greater than S800 2009-01-28 20:31:05 +01:00
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
Kconfig
Makefile
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 ieee1394: mark bus_info_data as a __be32 array 2009-01-04 23:50:35 +01:00
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 ieee1394: pcilynx: trivial endian annotation 2009-01-04 23:50:34 +01:00
raw1394-private.h
raw1394.c ieee1394: mark all hpsb_address_ops instances as const 2009-01-04 23:50:32 +01:00
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