提交 a960d5dc 编写于 作者: A Andre Haupt 提交者: Pierre Ossman

sdio_uart: fix sign of paramter status in sdio_uart_receive_chars()

This also fixes a sparse warning about different signedness.
Only compile tested, because i do not have the hardware.
Signed-off-by: NAndre Haupt <andre@bitwigglers.org>
Acked-by: NNicolas Pitre <nico@cam.org>
Signed-off-by: NPierre Ossman <drzeus@drzeus.cx>
上级 09f345da
...@@ -386,7 +386,7 @@ static void sdio_uart_stop_rx(struct sdio_uart_port *port) ...@@ -386,7 +386,7 @@ static void sdio_uart_stop_rx(struct sdio_uart_port *port)
sdio_out(port, UART_IER, port->ier); 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; struct tty_struct *tty = port->tty;
unsigned int ch, flag; unsigned int ch, flag;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册