kernel-ark/drivers
KAMBAROV, ZAUR 69f63c5c34 [PATCH] coverity: tty_ldisc_ref return null check
We add a check of the return value of tty_ldisc_ref(), which
is checked 7 out of 8 times, e.g.:

149  		ld = tty_ldisc_ref(tty);
150  		if (ld != NULL) {
151  			if (ld->set_termios)
152  				(ld->set_termios)(tty, &old_termios);
153  			tty_ldisc_deref(ld);
154  		}

This defect was found automatically by Coverity Prevent, a static analysis
tool.

(akpm: presumably `ld' is never NULL.  Oh well)

Signed-off-by: Zaur Kambarov <zkambarov@coverity.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-28 21:20:34 -07:00
..
acorn
acpi [PATCH] acpi bridge hotadd: Export the interface to get PCI id for an ACPI handle 2005-06-27 21:52:42 -07:00
atm
base [PATCH] request_firmware(): avoid race conditions 2005-06-28 21:20:30 -07:00
block [PATCH] ll_rw_blk: prevent huge request allocations 2005-06-28 14:56:50 -07:00
bluetooth [PATCH] pcmcia: id_table for dtl1_cs.c 2005-06-27 18:03:15 -07:00
cdrom
char [PATCH] coverity: tty_ldisc_ref return null check 2005-06-28 21:20:34 -07:00
cpufreq
crypto
dio
eisa
fc4
firmware
i2c
ide [PATCH] pcmcia: more IDs for ide_cs 2005-06-27 18:03:12 -07:00
ieee1394 [PATCH] ppc32: Remove CONFIG_PMAC_PBOOK 2005-06-27 15:11:43 -07:00
infiniband [PATCH] IB: Fix pack/unpack when size_bits == 64 2005-06-27 15:11:47 -07:00
input Commit the manual part of the input layer merge. 2005-06-27 17:49:45 -07:00
isdn [PATCH] drivers/isdn/: make some code static 2005-06-28 21:20:31 -07:00
macintosh [PATCH] ppc32: Remove CONFIG_PMAC_PBOOK 2005-06-27 15:11:43 -07:00
mca
md [PATCH] md: bio leak fix 2005-06-28 14:53:41 -07:00
media [PATCH] fix silly config option. 2005-06-27 14:33:30 -07:00
message [PATCH] PCI: make drivers use the pci shutdown callback instead of the driver core callback. 2005-06-27 21:52:47 -07:00
misc
mmc
mtd [PATCH] pcmcia: id_table for pcmciamtd.c 2005-06-27 18:03:13 -07:00
net Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6 2005-06-28 14:59:07 -07:00
nubus
oprofile
parisc [PATCH] acpi bridge hotadd: ACPI based root bridge hot-add 2005-06-27 21:52:39 -07:00
parport [PATCH] pcmcia: id_table for parport_cs.c 2005-06-27 18:03:13 -07:00
pci [PATCH] cpqphp: fix oops during unload without probe 2005-06-27 21:52:46 -07:00
pcmcia [PATCH] ACPI-based PCI resources: PCMCIA bugfix, but resources missing in trees 2005-06-27 18:03:22 -07:00
pnp
s390
sbus
scsi [PATCH] coverity: i386: scsi_lib buffer overrun fix 2005-06-28 21:20:33 -07:00
serial [PATCH] pcmcia: more IDs for TDK multifunction cards 2005-06-27 18:03:17 -07:00
sh
sn
tc
telephony [PATCH] pcmcia: id_table for ixj_pcmcia.c 2005-06-27 18:03:16 -07:00
usb [PATCH] pcmcia id_table for sl811.cs 2005-06-27 18:03:17 -07:00
video [PATCH] ppc32: Remove CONFIG_PMAC_PBOOK 2005-06-27 15:11:43 -07:00
w1
zorro
Kconfig
Makefile