]> err.no Git - linux-2.6/commitdiff
[PATCH] 8250: Fix GCC4 signed/unsigned mismatch warning
authorThomas Koeller <thomas.koeller@baslerweb.com>
Tue, 20 Feb 2007 21:58:05 +0000 (13:58 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 21 Feb 2007 01:10:15 +0000 (17:10 -0800)
Signed-off-by: Thomas Koeller <thomas.koeller@baslerweb.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/8250.c

index 98ec861853280672d0828342184c73025dc555cc..c129a0e8e8070166144e2cf9f8a1fe3003d19766 100644 (file)
@@ -1196,7 +1196,7 @@ static void serial8250_enable_ms(struct uart_port *port)
 }
 
 static void
-receive_chars(struct uart_8250_port *up, int *status)
+receive_chars(struct uart_8250_port *up, unsigned int *status)
 {
        struct tty_struct *tty = up->port.info->tty;
        unsigned char ch, lsr = *status;