summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/cavium/liquidio/lio_main.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2018-04-27 23:11:14 +0300
committerDavid S. Miller <davem@davemloft.net>2018-04-30 05:50:36 +0300
commit3ac305c386f698abccd0523c64a8aef248c89bc6 (patch)
tree560ca8bcc6bae44af98c94846a52962094bca987 /drivers/net/ethernet/cavium/liquidio/lio_main.c
parentc1b28847f7c00906a765516e8291ea2a71add64b (diff)
downloadlinux-3ac305c386f698abccd0523c64a8aef248c89bc6.tar.xz
net: core: Assert the size of netdev_featres_t
We have about 53 netdev_features_t bits defined and counting, add a build time check to catch when an u64 type will not be enough and we will have to convert that to a bitmap. This is done in register_netdevice() for convenience. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cavium/liquidio/lio_main.c')
0 files changed, 0 insertions, 0 deletions