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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1596339852-41875-1-git-send-email-lizhe@cpu-os.ac.cn>
Date:   Sat,  1 Aug 2020 20:44:12 -0700
From:   leesagacious <lizhe@...-os.ac.cn>
To:     linux-kernel@...r.kernel.org
Cc:     leesagacious <lizhe@...-os.ac.cn>
Subject: [PATCH] Modify the parameters that are not used

Signed-off-by: leesagacious <lizhe@...-os.ac.cn>
---
 include/linux/bottom_half.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/linux/bottom_half.h b/include/linux/bottom_half.h
index a19519f..ab54f34 100644
--- a/include/linux/bottom_half.h
+++ b/include/linux/bottom_half.h
@@ -7,7 +7,8 @@
 #ifdef CONFIG_TRACE_IRQFLAGS
 extern void __local_bh_disable_ip(unsigned long ip, unsigned int cnt);
 #else
-static __always_inline void __local_bh_disable_ip(unsigned long ip, unsigned int cnt)
+static __always_inline void __local_bh_disable_ip(unsigned long __unused ip,
+					unsigned int cnt)
 {
 	preempt_count_add(cnt);
 	barrier();
-- 
2.7.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ