[PATCH] h8300: Prefer unsigned int to bare use of unsigned

From: Jingjing Liu
Date: Wed Nov 03 2021 - 03:04:18 EST


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

Signed-off-by: Jingjing Liu <liujingjing@xxxxxxxxxx>
---
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