lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211103070247.24216-1-liujingjing@cdjrlc.com>
Date:   Wed,  3 Nov 2021 15:02:47 +0800
From:   Jingjing Liu <liujingjing@...rlc.com>
To:     ysato@...rs.sourceforge.jp
Cc:     uclinux-h8-devel@...ts.sourceforge.jp,
        linux-kernel@...r.kernel.org, Jingjing Liu <liujingjing@...rlc.com>
Subject: [PATCH] h8300: Prefer unsigned int to bare use of unsigned

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ