[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250322003218.14134-1-nicymimz@gmail.com>
Date: Fri, 21 Mar 2025 17:32:18 -0700
From: nancyenos <nicymimz@...il.com>
To: "outreachy @ lists . linux . dev Greg Kroah-Hartman" <gregkh@...uxfoundation.org>,
linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org
Cc: nancyenos <nicymimz@...il.com>
Subject: [PATCH] staging: octeon: Fix unused macro Argument 'x'
warning found by checkpath.pl
Signed-off-by: nancyenos <nicymimz@...il.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
Powered by blists - more mailing lists