[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191017182121.103569-5-zenczykowski@gmail.com>
Date: Thu, 17 Oct 2019 11:20:53 -0700
From: Maciej Żenczykowski <zenczykowski@...il.com>
To: Maciej Żenczykowski <maze@...gle.com>,
"John W . Linville" <linville@...driver.com>
Cc: netdev@...r.kernel.org
Subject: [PATCH 05/33] fix unused parameter warning in altera_tse_dump_regs()
From: Maciej Żenczykowski <maze@...gle.com>
This fixes:
external/ethtool/tse.c:28:50: error: unused parameter 'info' [-Werror,-Wunused-parameter]
int altera_tse_dump_regs(struct ethtool_drvinfo *info,
Signed-off-by: Maciej Żenczykowski <maze@...gle.com>
Change-Id: I555f0e3c55bba999aeb64f1e1435744590ea389d
---
tse.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tse.c b/tse.c
index f554dfe..e5241ee 100644
--- a/tse.c
+++ b/tse.c
@@ -25,7 +25,7 @@ bitset(u32 val, int bit)
return 0;
}
-int altera_tse_dump_regs(struct ethtool_drvinfo *info,
+int altera_tse_dump_regs(struct ethtool_drvinfo *info maybe_unused,
struct ethtool_regs *regs)
{
int i;
--
2.23.0.866.gb869b98d4c-goog
Powered by blists - more mailing lists