linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: leesagacious <lizhe@cpu-os.ac.cn>
To: linux-kernel@vger.kernel.org
Cc: leesagacious <lizhe@cpu-os.ac.cn>
Subject: [PATCH] Modify the parameters that are not used
Date: Sat,  1 Aug 2020 20:44:12 -0700	[thread overview]
Message-ID: <1596339852-41875-1-git-send-email-lizhe@cpu-os.ac.cn> (raw)

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


             reply	other threads:[~2020-08-02  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-02  3:44 leesagacious [this message]
2020-08-02  6:59 ` [PATCH] Modify the parameters that are not used kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1596339852-41875-1-git-send-email-lizhe@cpu-os.ac.cn \
    --to=lizhe@cpu-os.ac.cn \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).