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:44 -08:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:46 -08:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00
2006-12-07 08:39:41 -08:00
2006-12-08 08:28:57 -08:00
2006-10-04 07:55:13 -07:00
2006-12-08 08:28:57 -08:00
2006-11-22 14:57:56 +00:00
2006-12-04 02:00:36 -05:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00
2005-10-29 19:30:42 +01:00
2006-12-08 08:28:44 -08:00
2005-05-04 07:33:13 -07:00
2006-12-08 08:28:57 -08:00
2006-11-13 07:40:42 -08:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00
2006-03-28 09:16:08 -08:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00
2006-01-12 09:09:00 -08:00
2006-09-29 09:18:12 -07:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:58 -08:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00
2006-12-07 08:39:32 -08:00
2006-12-08 08:28:57 -08:00