commit | 3ac305c386f698abccd0523c64a8aef248c89bc6 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Fri Apr 27 13:11:14 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun Apr 29 22:50:36 2018 -0400 |
tree | 560ca8bcc6bae44af98c94846a52962094bca987 | |
parent | c1b28847f7c00906a765516e8291ea2a71add64b [diff] |
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>