Thread (14 messages) 14 messages, 3 authors, 2021-05-21
STALE1841d

[PATCH 09/11] tty: serial: digicolor: Use 'unsigned int' instead of 'unsigned'

From: Jay Fang <f.fangjian@huawei.com>
Date: 2021-05-18 01:57:30
Subsystem: the rest, tty layer and serial drivers · Maintainers: Linus Torvalds, Greg Kroah-Hartman, Jiri Slaby

From: Zihao Tang <redacted>

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 <redacted>
Signed-off-by: Jay Fang <f.fangjian@huawei.com>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help