summaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
authorThomas Koeller <thomas.koeller@baslerweb.com>2007-02-20 22:58:05 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-21 02:10:15 +0100
commitcc79aa9d282b34279731a522d074bfea4833e5b5 (patch)
treeca694ff300b141956b5fcc99d8db0a7c882f224d /drivers/serial
parent[PATCH] cdrom: use unsigned bitfields (diff)
downloadlinux-cc79aa9d282b34279731a522d074bfea4833e5b5.tar.xz
linux-cc79aa9d282b34279731a522d074bfea4833e5b5.zip
[PATCH] 8250: Fix GCC4 signed/unsigned mismatch warning
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>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/8250.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c
index 98ec86185328..c129a0e8e807 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;