linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Modify the parameters that are not used
@ 2020-08-02  3:44 leesagacious
  2020-08-02  6:59 ` kernel test robot
  0 siblings, 1 reply; 2+ messages in thread
From: leesagacious @ 2020-08-02  3:44 UTC (permalink / raw)
  To: linux-kernel; +Cc: leesagacious

Signed-off-by: leesagacious <lizhe@cpu-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


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

end of thread, other threads:[~2020-08-02  7:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-02  3:44 [PATCH] Modify the parameters that are not used leesagacious
2020-08-02  6:59 ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).