serial: Prefer unsigned int to bare use of unsigned
PATCH 1/1 serial: Prefer unsigned int to bare use of unsigned
Fix checkpatch warnings:
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
Signed-off-by Jinchao Wang <[email protected]>
--- drivers/tty/serial/mvebu-uart.c | 2 +- drivers/tty/serial/xilinx_uartps.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/tty/serial/mvebu-uart.c +1 -1
@@ -617,7 +617,7 @@ static void mvebu_uart_putc(struct uart_port *port, int c)static void mvebu_uart_putc_early_write (struct console *con,const char *s, -unsigned n) +unsigned int n) {struct earlycon_device *dev = con->data;
drivers/tty/serial/xilinx_uartps.c +1 -1
@@ -1149,7 +1149,7 @@ static void cdns_uart_console_putchar(struct uart_port *port, int ch) }static void cdns_early_write (struct console *con,const char *s, -unsigned n) +unsigned int n) {struct earlycon_device *dev = con->data;
Signature · 9 lines
2.31.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel