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 <wjc@cdjrlc.com> Link: https://lore.kernel.org/r/20210624021207.58059-1-wjc@cdjrlc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b67e830d38
commit
5607fa6c3d
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue