From: Florian Fainelli <f.faine...@gmail.com> Date: Fri, 27 Apr 2018 13:11:14 -0700
> 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.faine...@gmail.com> Applied, but I don't know about putting that check as an inline function in a header file included by every networking foo.c file. It means that the inline function has to be parsed and (potentially) optimized by the compiler for every foo.c file that either directly or indirectly includes that header.