Commit 5607fa6c authored by Jinchao Wang's avatar Jinchao Wang Committed by Greg Kroah-Hartman
Browse files

serial: Prefer unsigned int to bare use of unsigned



Fix checkpatch warnings:
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'

Signed-off-by: default avatarJinchao Wang <wjc@cdjrlc.com>
Link: https://lore.kernel.org/r/20210624021207.58059-1-wjc@cdjrlc.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b67e830d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;

+1 −1
Original line number Diff line number Diff line
@@ -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;