diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2018-04-27 23:11:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-30 05:50:36 +0300 |
commit | 3ac305c386f698abccd0523c64a8aef248c89bc6 (patch) | |
tree | 560ca8bcc6bae44af98c94846a52962094bca987 /drivers/net/ethernet/cavium/liquidio/lio_main.c | |
parent | c1b28847f7c00906a765516e8291ea2a71add64b (diff) | |
download | linux-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