1
0
Files
linux/drivers
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
..
2006-12-08 08:28:40 -08:00
2006-12-08 08:28:47 -08:00
2006-11-22 14:57:56 +00:00
2006-12-07 08:39:24 -08:00
2006-10-11 11:14:25 -07:00
2006-12-07 08:39:43 -08:00
2006-12-08 01:37:03 -05:00
2006-12-08 08:28:57 -08:00
2006-12-07 08:39:36 -08:00
2006-12-08 08:28:50 -08:00
2006-12-07 08:39:33 -08:00
2006-12-07 08:39:24 -08:00
2006-12-08 08:28:57 -08:00
2006-11-30 05:24:39 +01:00
2006-12-08 08:28:48 -08:00
2006-12-08 08:28:46 -08:00
2006-12-07 08:39:43 -08:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:49 -08:00
2006-12-08 08:28:49 -08:00
2006-12-08 08:28:57 -08:00
2006-10-17 08:18:42 -07:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:50 -08:00
2006-12-08 08:28:50 -08:00
2006-10-17 08:18:42 -07:00