From: Thomas Koeller Date: Tue, 20 Feb 2007 21:58:05 +0000 (-0800) Subject: [PATCH] 8250: Fix GCC4 signed/unsigned mismatch warning X-Git-Tag: v2.6.21-rc1~26 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=cc79aa9d282b34279731a522d074bfea4833e5b5;p=linux-2.6-omap-h63xx.git [PATCH] 8250: Fix GCC4 signed/unsigned mismatch warning Signed-off-by: Thomas Koeller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c index 98ec8618532..c129a0e8e80 100644 --- a/drivers/serial/8250.c +++ b/drivers/serial/8250.c @@ -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;