From: Zihao Tang <tangzihao1@xxxxxxxxxxxxx> Fix the following checkpatch warnings: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' #393: FILE: ./drivers/tty/serial/digicolor-usart.c:393: + unsigned n) Signed-off-by: Zihao Tang <tangzihao1@xxxxxxxxxxxxx> Signed-off-by: Jay Fang <f.fangjian@xxxxxxxxxx> --- drivers/tty/serial/digicolor-usart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/digicolor-usart.c b/drivers/tty/serial/digicolor-usart.c index 13ac36e..e26afd8 100644 --- a/drivers/tty/serial/digicolor-usart.c +++ b/drivers/tty/serial/digicolor-usart.c @@ -390,7 +390,7 @@ static void digicolor_uart_console_putchar(struct uart_port *port, int ch) } static void digicolor_uart_console_write(struct console *co, const char *c, - unsigned n) + unsigned int n) { struct uart_port *port = digicolor_ports[co->index]; u8 status; -- 2.7.4