[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1457719104-39188-8-git-send-email-ddecotig@gmail.com>
Date: Fri, 11 Mar 2016 09:58:20 -0800
From: David Decotigny <ddecotig@...il.com>
To: netdev@...r.kernel.org
Cc: Jeff Garzik <jgarzik@...ox.com>,
Ben Hutchings <ben@...adent.org.uk>,
David Miller <davem@...hat.com>,
Vidya Sagar Ravipati <vidya@...ulusnetworks.com>,
Joe Perches <joe@...ches.com>,
Maciej Żenczykowski <maze@...gle.com>,
David Decotigny <decot@...glers.com>
Subject: [ethtool PATCH v4 07/11] test-features.c: add braces around array initialization
From: Maciej Żenczykowski <maze@...gle.com>
This fixes:
test-features.c:21:1: error: missing braces around initializer [-Werror=missing-braces]
cmd_gssetinfo = { { ETHTOOL_GSSET_INFO, 0, 1ULL << ETH_SS_FEATURES }, 34 };
^
Signed-off-by: Maciej Żenczykowski <maze@...gle.com>
Signed-off-by: David Decotigny <decot@...glers.com>
---
test-features.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test-features.c b/test-features.c
index d7bd994..6ebb364 100644
--- a/test-features.c
+++ b/test-features.c
@@ -18,7 +18,7 @@ static const struct {
struct ethtool_sset_info cmd;
u32 data[1];
}
-cmd_gssetinfo = { { ETHTOOL_GSSET_INFO, 0, 1ULL << ETH_SS_FEATURES }, 34 };
+cmd_gssetinfo = { { ETHTOOL_GSSET_INFO, 0, 1ULL << ETH_SS_FEATURES }, { 34 } };
static const struct ethtool_value
cmd_grxcsum_off = { ETHTOOL_GRXCSUM, 0 },
--
2.7.0.rc3.207.g0ac5344
Powered by blists - more mailing lists