From: Andre Haupt The status paramter should be unsigned. This also fixes a sparse warning about different signedness. Only compile tested, because i do not have the hardware. Signed-off-by: Andre Haupt Acked-by: Nicolas Pitre Cc: Pierre Ossman Signed-off-by: Andrew Morton --- drivers/mmc/card/sdio_uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/mmc/card/sdio_uart.c~sdio_uart-fix-sign-of-paramter-status-in-sdio_uart_receive_chars drivers/mmc/card/sdio_uart.c --- a/drivers/mmc/card/sdio_uart.c~sdio_uart-fix-sign-of-paramter-status-in-sdio_uart_receive_chars +++ a/drivers/mmc/card/sdio_uart.c @@ -386,7 +386,7 @@ static void sdio_uart_stop_rx(struct sdi sdio_out(port, UART_IER, port->ier); } -static void sdio_uart_receive_chars(struct sdio_uart_port *port, int *status) +static void sdio_uart_receive_chars(struct sdio_uart_port *port, unsigned int *status) { struct tty_struct *tty = port->tty; unsigned int ch, flag; _