提交 5607fa6c 编写于 作者: J Jinchao Wang 提交者: Greg Kroah-Hartman

serial: Prefer unsigned int to bare use of unsigned

Fix checkpatch warnings:
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
Signed-off-by: NJinchao Wang <wjc@cdjrlc.com>
Link: https://lore.kernel.org/r/20210624021207.58059-1-wjc@cdjrlc.comSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 b67e830d
...@@ -617,7 +617,7 @@ static void mvebu_uart_putc(struct uart_port *port, int c) ...@@ -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, static void mvebu_uart_putc_early_write(struct console *con,
const char *s, const char *s,
unsigned n) unsigned int n)
{ {
struct earlycon_device *dev = con->data; struct earlycon_device *dev = con->data;
......
...@@ -1149,7 +1149,7 @@ static void cdns_uart_console_putchar(struct uart_port *port, int ch) ...@@ -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, static void cdns_early_write(struct console *con, const char *s,
unsigned n) unsigned int n)
{ {
struct earlycon_device *dev = con->data; struct earlycon_device *dev = con->data;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册