alistair23-linux/drivers/char
Jiri Slaby 17c4edf0c8 [PATCH] Char: isicom, fix tty index check
Since tty->index is signed and may be < 0, we should assign this to int not
uint.  There is already a check to ensure if it is not negative, but gcc
complains with -W flag enabled and it is perfectly correct:
drivers/char/isicom.c:953: warning: comparison of unsigned expression < 0
is always false

Fix this issue by converting `line' variable from uint to int.

Signed-off-by: Jiri Slaby <jirislaby@gmail.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>
2006-12-08 08:28:58 -08:00
..
agp [PATCH] agp-amd64: section mismatches with HOTPLUG=n 2006-12-07 08:39:40 -08:00
drm [PATCH] struct path: convert drm 2006-12-08 08:28:44 -08:00
hw_random [PATCH] allow hwrandom core to be a module 2006-12-07 08:39:39 -08:00
ip2 [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
ipmi [PATCH] struct path: convert ipmi 2006-12-08 08:28:46 -08:00
mwave
pcmcia [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
rio [PATCH] ioremap balanced with iounmap for drivers/char/rio/rio_linux.c 2006-12-07 08:39:30 -08:00
tpm [PATCH] Correct misc_register return code handling in several drivers 2006-12-07 08:39:35 -08:00
watchdog Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2006-12-07 15:40:39 -08:00
.gitignore
amiserial.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
applicom.c
applicom.h
briq_panel.c
cd1865.h
ChangeLog
consolemap.c
cp437.uni
cs5535_gpio.c [PATCH] struct path: convert char-drivers 2006-12-08 08:28:44 -08:00
cyclades.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
decserial.c [PATCH] dz: Fixes to make it work 2006-12-07 08:39:41 -08:00
defkeymap.c_shipped
defkeymap.map
digi.h
digi1.h
digiFep1.h
digiPCI.h
ds1286.c
ds1302.c
ds1620.c
dsp56k.c [PATCH] struct path: convert char-drivers 2006-12-08 08:28:44 -08:00
dtlk.c [PATCH] struct path: convert char-drivers 2006-12-08 08:28:44 -08:00
ec3104_keyb.c
efirtc.c
epca.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
epca.h
epcaconfig.h
esp.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
generic_nvram.c
generic_serial.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
genrtc.c WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
hangcheck-timer.c
hpet.c [PATCH] severing poll.h -> mm.h 2006-12-04 02:00:36 -05:00
hvc_console.c [PATCH] Add include/linux/freezer.h and move definitions from sched.h 2006-12-07 08:39:27 -08:00
hvc_console.h
hvc_iseries.c
hvc_rtas.c
hvc_vio.c
hvcs.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
hvsi.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
i8k.c
ip27-rtc.c
isicom.c [PATCH] Char: isicom, fix tty index check 2006-12-08 08:28:58 -08:00
istallion.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
Kconfig [PATCH] mxser: make an experimental clone 2006-12-08 08:28:53 -08:00
keyboard.c Input: drivers/char/keyboard.c - small cleanup in k_cur() 2006-11-04 22:09:08 -05:00
lcd.c
lcd.h
lp.c [PATCH] struct path: convert char-drivers 2006-12-08 08:28:44 -08:00
Makefile [PATCH] mxser: make an experimental clone 2006-12-08 08:28:53 -08:00
mbcs.c
mbcs.h
mem.c [PATCH] struct path: convert char-drivers 2006-12-08 08:28:44 -08:00
misc.c [PATCH] Correct misc_register return code handling in several drivers 2006-12-07 08:39:35 -08:00
mmtimer.c [PATCH] Correct misc_register return code handling in several drivers 2006-12-07 08:39:35 -08:00
moxa.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
mspec.c [PATCH] mspec driver build fix 2006-11-13 07:40:42 -08:00
mxser.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
mxser.h
mxser_new.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
mxser_new.h [PATCH] Char: mxser_new, rework to allow dynamic structs 2006-12-08 08:28:53 -08:00
n_hdlc.c
n_r3964.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
n_tty.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
nsc_gpio.c [PATCH] struct path: convert char-drivers 2006-12-08 08:28:44 -08:00
nvram.c
nwbutton.c
nwbutton.h
nwflash.c
pc8736x_gpio.c
ppdev.c [PATCH] struct path: convert char-drivers 2006-12-08 08:28:44 -08:00
pty.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
random.c [PATCH] struct path: convert char-drivers 2006-12-08 08:28:44 -08:00
raw.c [PATCH] struct path: convert char-drivers 2006-12-08 08:28:44 -08:00
riscom8.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
riscom8.h
riscom8_reg.h
rocket.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
rocket.h
rocket_int.h
rtc.c
scan_keyb.c
scan_keyb.h
scc.h
scx200_gpio.c
selection.c
ser_a2232.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
ser_a2232.h
ser_a2232fw.ax
ser_a2232fw.h
serial167.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
snsc.c
snsc.h
snsc_event.c
sonypi.c [PATCH] struct path: convert char-drivers 2006-12-08 08:28:44 -08:00
specialix.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
specialix_io8.h
stallion.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
sx.c [PATCH] Char: isicom, remove cvs stuff 2006-12-08 08:28:58 -08:00
sx.h
sxboards.h
sxwindow.h
synclink.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
synclink_gt.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
synclinkmp.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
sysrq.c [PATCH] SysRq-X: show blocked tasks 2006-12-07 08:39:32 -08:00
tb0219.c [PATCH] struct path: convert char-drivers 2006-12-08 08:28:44 -08:00
tipar.c [PATCH] struct path: convert char-drivers 2006-12-08 08:28:44 -08:00
tlclk.c [PATCH] tlclk: fix platform_device_register_simple() error check 2006-11-25 13:28:34 -08:00
toshiba.c [PATCH] export toshiba SMM support for neofb module 2006-12-07 08:39:40 -08:00
tty_io.c [PATCH] tty: switch to ktermios and new framework 2006-12-08 08:28:56 -08:00
tty_ioctl.c [PATCH] tty_ioctl: use termios for the old structure and termios2 for the new 2006-12-08 08:28:57 -08:00
vc_screen.c [PATCH] struct path: convert char-drivers 2006-12-08 08:28:44 -08:00
viocons.c
viotape.c [PATCH] struct path: convert char-drivers 2006-12-08 08:28:44 -08:00
vme_scc.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
vr41xx_giu.c [PATCH] struct path: convert char-drivers 2006-12-08 08:28:44 -08:00
vt.c [PATCH] add return value checking of get_user() in set_vesa_blanking() 2006-12-07 08:39:40 -08:00
vt_ioctl.c