linux/drivers/char
Stefani Seibold 9842c38e91 kfifo: fix warn_unused_result
Fix the "ignoring return value of '...', declared with attribute
warn_unused_result" compiler warning in several users of the new kfifo
API.

It removes the __must_check attribute from kfifo_in() and
kfifo_in_locked() which must not necessary performed.

Fix the allocation bug in the nozomi driver file, by moving out the
kfifo_alloc from the interrupt handler into the probe function.

Fix the kfifo_out() and kfifo_out_locked() users to handle a unexpected
end of fifo.

Signed-off-by: Stefani Seibold <stefani@seibold.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-12-22 14:17:56 -08:00
..
agp Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2009-12-12 14:27:24 -08:00
hw_random Merge branch 'bkl-drivers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-12-09 08:07:38 -08:00
ip2
ipmi Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2009-12-16 12:33:19 -08:00
mwave
pcmcia tty: const: constify remaining tty_operations 2009-12-11 15:18:03 -08:00
rio tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
tpm tpm: autoload tpm_tis based on system PnP IDs 2009-11-03 12:05:50 +11:00
xilinx_hwicap
.gitignore
ChangeLog
Kconfig bfin-otp: add BF51x to the supported arch list 2009-12-15 00:15:35 -05:00
Makefile tty: esp: remove broken driver 2009-12-11 15:18:03 -08:00
amiserial.c
apm-emulation.c
applicom.c
applicom.h
bfin-otp.c
bfin_jtag_comm.c tty: const: constify remaining tty_operations 2009-12-11 15:18:03 -08:00
briq_panel.c
bsr.c
cd1865.h
consolemap.c
cp437.uni
cs5535_gpio.c
cyclades.c
defkeymap.c_shipped
defkeymap.map
digi1.h
digiFep1.h
digiPCI.h
ds1302.c
ds1620.c
dsp56k.c
dtlk.c
efirtc.c efirtc: explicitly set llseek to no_llseek 2009-12-16 07:19:59 -08:00
epca.c tty: const: constify remaining tty_operations 2009-12-11 15:18:03 -08:00
epca.h
epcaconfig.h
generic_nvram.c
generic_serial.c
genrtc.c
hangcheck-timer.c
hpet.c sysctl: Drop & in front of every proc_handler. 2009-11-18 08:37:40 -08:00
hvc_beat.c
hvc_console.c hvc_console: Export (GPL'ed) hvc_remove 2009-12-08 16:02:49 +11:00
hvc_console.h
hvc_irq.c
hvc_iseries.c
hvc_iucv.c const: constify remaining dev_pm_ops 2009-12-15 08:53:25 -08:00
hvc_rtas.c
hvc_udbg.c
hvc_vio.c
hvc_xen.c Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2009-12-11 12:18:16 -08:00
hvcs.c
hvsi.c
i8k.c
isicom.c tty: isicom: fix deadlock on shutdown 2009-12-11 15:18:07 -08:00
istallion.c tty: istallion: tty port open/close methods 2009-12-11 15:18:06 -08:00
keyboard.c Input: keyboard - don't override beep with a bell 2009-12-15 21:48:55 -08:00
lp.c lp: move compat_ioctl handling into lp.c 2009-12-10 22:55:36 +01:00
mbcs.c
mbcs.h
mem.c /dev/mem: remove redundant parameter from do_write_kmem() 2009-12-15 08:53:12 -08:00
misc.c drivers/char/misc.c: use bitmap/bitops functions for dynamic minor number allocation 2009-12-15 08:53:27 -08:00
mmtimer.c
moxa.c tty: moxa: split open lock 2009-12-11 15:18:08 -08:00
moxa.h
mspec.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
mxser.c tty: mxser: Use the new locking rules to fix setserial properly 2009-12-11 15:18:07 -08:00
mxser.h
n_hdlc.c
n_r3964.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
n_tty.c
nozomi.c kfifo: fix warn_unused_result 2009-12-22 14:17:56 -08:00
nsc_gpio.c
nvram.c nvram: Fix write beyond end condition; prove to gcc copy is safe 2009-12-11 15:48:23 -08:00
nwbutton.c
nwbutton.h
nwflash.c
pc8736x_gpio.c
ppdev.c
ps3flash.c
pty.c tty: push the BKL down into the handlers a bit 2009-12-11 15:18:08 -08:00
random.c random.c: use %pU to print UUIDs 2009-12-15 08:53:33 -08:00
raw.c
riscom8.c tty: riscom8: switch to the tty_port_open API 2009-12-11 15:18:06 -08:00
riscom8.h
riscom8_reg.h
rocket.c
rocket.h
rocket_int.h
rtc.c sysctl: Drop & in front of every proc_handler. 2009-11-18 08:37:40 -08:00
scc.h
scx200_gpio.c
selection.c
ser_a2232.c
ser_a2232.h
ser_a2232fw.ax
ser_a2232fw.h
serial167.c
snsc.c
snsc.h
snsc_event.c
sonypi.c kfifo: rename kfifo_put... into kfifo_in... and kfifo_get... into kfifo_out... 2009-12-22 14:17:56 -08:00
specialix.c
specialix_io8.h
stallion.c tty: stallion: Convert to the tty_port_open/close methods 2009-12-11 15:18:06 -08:00
sx.c
sx.h
sxboards.h
sxwindow.h
synclink.c
synclink_gt.c
synclinkmp.c
sysrq.c oom-kill: fix NUMA constraint check with nodemask 2009-12-16 07:19:57 -08:00
tb0219.c
tlclk.c
toshiba.c
tty_audit.c
tty_buffer.c
tty_io.c tty: Fix BKL taken under a spinlock bug introduced in the BKL split 2009-12-12 14:46:21 -08:00
tty_ioctl.c tree-wide: fix a very frequent spelling mistake 2009-11-09 09:40:54 +01:00
tty_ldisc.c tty: Push the lock down further into the ldisc code 2009-12-11 15:18:08 -08:00
tty_port.c tty: tty_port: Add a kref object to the tty port 2009-12-11 15:18:07 -08:00
uv_mmtimer.c
vc_screen.c
viotape.c
virtio_console.c
vme_scc.c
vt.c vt: make the default cursor shape configurable 2009-12-16 07:19:57 -08:00
vt_ioctl.c vt: Fix use of "new" in a struct field 2009-11-19 13:43:06 -08:00