aboutsummaryrefslogtreecommitdiff
path: root/et131x.c
diff options
context:
space:
mode:
authorMichal Kubecek <mkubecek@suse.cz>2020-08-03 13:57:06 +0200
committerMichal Kubecek <mkubecek@suse.cz>2020-08-04 14:15:28 +0200
commitb131eba4803d29bc866426029541b9c00c223296 (patch)
treebaa17649ebce59acd8009a8294281c571e6b6ebf /et131x.c
parentbef780467fa7aa95dca3ed5cc3ebb8bec5882f08 (diff)
downloadethtool-b131eba4803d29bc866426029541b9c00c223296.tar.gz
rename maybe_unused macro to __maybe_unused
This makes the code consistent with kernel and also makes it a bit more apparent that it is an attribute. Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Diffstat (limited to 'et131x.c')
-rw-r--r--et131x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/et131x.c b/et131x.c
index 1b06071..a23f7a2 100644
--- a/et131x.c
+++ b/et131x.c
@@ -2,7 +2,7 @@
#include <string.h>
#include "internal.h"
-int et131x_dump_regs(struct ethtool_drvinfo *info maybe_unused,
+int et131x_dump_regs(struct ethtool_drvinfo *info __maybe_unused,
struct ethtool_regs *regs)
{
u8 version = (u8)(regs->version >> 24);