From: nancyenos <nicymimz@gmail.com>
To: gregkh@linuxfoundation.org
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
outreachy@lists.linux.dev, nancyenos <nicymimz@gmail.com>
Subject: [PATCH] staging: octeon: Fix unused macro Argument 'x'
Date: Tue, 25 Mar 2025 03:09:52 -0700 [thread overview]
Message-ID: <20250325100952.2956-1-nicymimz@gmail.com> (raw)
warning found by checkpath.pl
Signed-off-by: nancyenos <nicymimz@gmail.com>
---
drivers/staging/octeon/octeon-stubs.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/octeon/octeon-stubs.h b/drivers/staging/octeon/octeon-stubs.h
index 44cced319c11..0155f3c41657 100644
--- a/drivers/staging/octeon/octeon-stubs.h
+++ b/drivers/staging/octeon/octeon-stubs.h
@@ -8,8 +8,8 @@
#define OCTEON_IRQ_WORKQ0 0
#define OCTEON_IRQ_RML 0
#define OCTEON_IRQ_TIMER1 0
-#define OCTEON_IS_MODEL(x) 0
-#define octeon_has_feature(x) 0
+#define OCTEON_IS_MODEL(x) ((void)(x), 0)
+#define octeon_has_feature(x) ((void)(x), 0)
#define octeon_get_clock_rate() 0
#define CVMX_SYNCIOBDMA do { } while (0)
--
2.25.1
next reply other threads:[~2025-03-25 10:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-25 10:09 nancyenos [this message]
2025-03-25 11:44 ` Julia Lawall
2025-03-29 2:47 ` kernel test robot
2025-04-03 14:09 ` Greg KH
-- strict thread matches above, loose matches on Subject: below --
2025-03-22 0:32 nancyenos
2025-03-22 6:59 ` kernel test robot
2025-03-23 2:20 ` 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=20250325100952.2956-1-nicymimz@gmail.com \
--to=nicymimz@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=outreachy@lists.linux.dev \
/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
all inboxes | Powered by JetHome®