mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] h8300: Prefer unsigned int to bare use of unsigned
@ 2021-11-03  7:02 Jingjing Liu
  2021-11-03  8:01 ` Johan Hovold
  0 siblings, 1 reply; 2+ messages in thread
From: Jingjing Liu @ 2021-11-03  7:02 UTC (permalink / raw)
  To: ysato; +Cc: uclinux-h8-devel, linux-kernel, Jingjing Liu

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

Signed-off-by: Jingjing Liu <liujingjing@cdjrlc.com>
---
 arch/h8300/kernel/sim-console.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/h8300/kernel/sim-console.c b/arch/h8300/kernel/sim-console.c
index 03aa35b1a08c..4a3e5d95e29a 100644
--- a/arch/h8300/kernel/sim-console.c
+++ b/arch/h8300/kernel/sim-console.c
@@ -11,7 +11,7 @@
 #include <linux/init.h>
 #include <linux/serial_core.h>
 
-static void sim_write(struct console *con, const char *s, unsigned n)
+static void sim_write(struct console *con, const char *s, unsigned int n)
 {
 	register const char *_ptr __asm__("er1") = s;
 	register const unsigned _len __asm__("er2") = n;
-- 
2.33.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-03  8:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-03  7:02 [PATCH] h8300: Prefer unsigned int to bare use of unsigned Jingjing Liu
2021-11-03  8:01 ` Johan Hovold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®