kernel-hacking-2024-linux-s.../sound
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
..
aoa Merge branch 'topic/aoa' into to-push 2008-12-25 11:40:24 +01:00
arm [ARM] AACI: timeout will reach -1 2009-02-10 09:59:20 +00:00
core Rationalize fasync return values 2009-03-16 08:34:35 -06:00
drivers ALSA: mtpav - Fix initial value for input hwport 2009-02-12 00:06:42 +01:00
i2c V4L/DVB (10138): v4l2-ioctl: change to long return type to match unlocked_ioctl. 2009-01-02 17:11:34 -02:00
isa Merge branch 'topic/pcsp-fix' into topic/misc 2008-12-20 23:39:47 +01:00
mips
oss Use f_lock to protect f_flags 2009-03-16 08:32:27 -06:00
parisc
pci Merge branch 'fix/hda' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2009-03-08 10:03:31 -07:00
pcmcia ALSA: hda - Convert from takslet_hi_schedule() to tasklet_schedule() 2008-12-18 12:17:55 +01:00
ppc powerpc/ps3: Printing fixups for l64 to ll64 conversion sound/ppc 2009-01-16 16:15:14 +11:00
sh
soc ASoC: Only register AC97 bus if it's not done already 2009-02-13 13:50:22 +00:00
sparc sparc64: Fix unsigned long long warnings in drivers. 2009-01-06 13:20:38 -08:00
spi
synth
usb ALSA: usb-audio - Workaround for misdetected sample rate with CM6207 2009-02-16 22:58:23 +01:00
ac97_bus.c ALSA: ac97 - Include ac97_codec.h for ac97_bus_type declaration 2008-12-02 16:25:37 +01:00
Kconfig
last.c
Makefile
sound_core.c ALSA: Fix declaration of sound_class 2008-12-15 16:55:27 +01:00
sound_firmware.c