In file included from : In function ‘__virtio_test_bit’, inlined from ‘virtio_has_feature’ at ../include/linux/virtio_config.h:204:9, inlined from ‘virtnet_probe’ at ../drivers/net/virtio_net.c:6805:7: ./../include/linux/compiler_types.h:557:45: error: call to ‘__compiletime_assert_849’ declared with attribute error: BUILD_BUG_ON failed: fbit >= VIRTIO_FEATURES_MAX 557 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:538:25: note: in definition of macro ‘__compiletime_assert’ 538 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:557:9: note: in expansion of macro ‘_compiletime_assert’ 557 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ ../include/linux/virtio_config.h:152:17: note: in expansion of macro ‘BUILD_BUG_ON’ 152 | BUILD_BUG_ON(fbit >= VIRTIO_FEATURES_MAX); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: drivers/net/virtio_net.o] Error 1 make[4]: *** [../scripts/Makefile.build:461: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:461: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:2003: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.GA7dJFEN4C 2025-05-21 03:58:04.490561845 -0700 +++ /tmp/tmp.3NBy6TRGm8 2025-05-21 03:58:18.359428313 -0700 @@ -0,0 +1,29 @@ +In file included from : +In function ‘__virtio_test_bit’, + inlined from ‘virtio_has_feature’ at ../include/linux/virtio_config.h:204:9, + inlined from ‘virtnet_probe’ at ../drivers/net/virtio_net.c:6805:7: +./../include/linux/compiler_types.h:557:45: error: call to ‘__compiletime_assert_849’ declared with attribute error: BUILD_BUG_ON failed: fbit >= VIRTIO_FEATURES_MAX + 557 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^ +./../include/linux/compiler_types.h:538:25: note: in definition of macro ‘__compiletime_assert’ + 538 | prefix ## suffix(); \ + | ^~~~~~ +./../include/linux/compiler_types.h:557:9: note: in expansion of macro ‘_compiletime_assert’ + 557 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ + 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) + | ^~~~~~~~~~~~~~~~ +../include/linux/virtio_config.h:152:17: note: in expansion of macro ‘BUILD_BUG_ON’ + 152 | BUILD_BUG_ON(fbit >= VIRTIO_FEATURES_MAX); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: drivers/net/virtio_net.o] Error 1 +make[4]: *** [../scripts/Makefile.build:461: drivers/net] Error 2 +make[4]: *** Waiting for unfinished jobs.... +make[3]: *** [../scripts/Makefile.build:461: drivers] Error 2 +make[2]: *** [/home/nipa/net-next/wt-1/Makefile:2003: .] Error 2 +make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 +make: *** [Makefile:248: __sub-make] Error 2 Per-file breakdown