aboutsummaryrefslogtreecommitdiffstats
path: root/net/ethtool/bitset.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/ethtool/bitset.h')
-rw-r--r--net/ethtool/bitset.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ethtool/bitset.h b/net/ethtool/bitset.h
index b8247e34109d..b849f9d19676 100644
--- a/net/ethtool/bitset.h
+++ b/net/ethtool/bitset.h
@@ -3,6 +3,8 @@
#ifndef _NET_ETHTOOL_BITSET_H
#define _NET_ETHTOOL_BITSET_H
+#define ETHNL_MAX_BITSET_SIZE S16_MAX
+
typedef const char (*const ethnl_string_array_t)[ETH_GSTRING_LEN];
int ethnl_bitset_is_compact(const struct nlattr *bitset, bool *compact);