linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] include: Modify parameters that are not used in __local_bh_disable_ip()
@ 2020-08-02 11:01 leesagacious
  0 siblings, 0 replies; only message in thread
From: leesagacious @ 2020-08-02 11:01 UTC (permalink / raw)
  To: linux-kernel; +Cc: leesagacious

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

diff --git a/include/linux/bottom_half.h b/include/linux/bottom_half.h
index ab54f34..edcdf3fa 100644
--- a/include/linux/bottom_half.h
+++ b/include/linux/bottom_half.h
@@ -7,7 +7,7 @@
 #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 __unused ip,
+static __always_inline void __local_bh_disable_ip(__attribute__((unused)) unsigned long ip,
 					unsigned int cnt)
 {
 	preempt_count_add(cnt);
-- 
2.7.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-02 11:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-02 11:01 [PATCH] include: Modify parameters that are not used in __local_bh_disable_ip() leesagacious

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).