tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files In file included from : In function ‘net_gso_ok’, inlined from ‘skb_gso_ok’ at ../include/linux/netdevice.h:5076:9, inlined from ‘tcp_gso_segment’ at ../net/ipv4/tcp_offload.c:163:6: ./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_1367’ declared with attribute error: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:498:25: note: in definition of macro ‘__compiletime_assert’ 498 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:517:9: note: in expansion of macro ‘_compiletime_assert’ 517 | _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/netdevice.h:5053:9: note: in expansion of macro ‘BUILD_BUG_ON’ 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:229: net/ipv4/tcp_offload.o] Error 1 make[4]: *** [../scripts/Makefile.build:478: net/ipv4] Error 2 make[4]: *** Waiting for unfinished jobs.... ../net/core/gen_stats.c:59:1: warning: context imbalance in 'gnet_stats_start_copy_compat' - wrong count at exit ../net/core/gen_stats.c:32:31: warning: context imbalance in '___gnet_stats_copy_basic' - unexpected unlock ../net/core/gen_stats.c:32:31: warning: context imbalance in 'gnet_stats_copy_rate_est' - unexpected unlock ../net/core/gen_stats.c:32:31: warning: context imbalance in 'gnet_stats_copy_queue' - unexpected unlock ../net/core/gen_stats.c:32:31: warning: context imbalance in 'gnet_stats_copy_app' - unexpected unlock ../net/core/gen_stats.c:32:31: warning: context imbalance in 'gnet_stats_finish_copy' - unexpected unlock ../net/core/gen_estimator.c:71:9: warning: context imbalance in 'est_fetch_counters' - different lock contexts for basic block ../net/core/gen_estimator.c:192:9: warning: context imbalance in 'gen_new_estimator' - different lock contexts for basic block ../net/llc/llc_input.c:198:15: error: incompatible types in comparison expression (different address spaces): ../net/llc/llc_input.c:198:15: int ( [noderef] __rcu * )( ... ) ../net/llc/llc_input.c:198:15: int ( * )( ... ) In file included from ../include/linux/skbuff.h:29, from ../include/linux/if_ether.h:19, from ../include/linux/etherdevice.h:20, from ../net/ethtool/ioctl.c:11: ../net/ethtool/ioctl.c: In function ‘ethtool_set_features’: ../include/linux/netdev_features.h:105:55: warning: left shift count >= width of type [-Wshift-count-overflow] 105 | #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) | ^~ ../include/linux/netdev_features.h:196:35: note: in expansion of macro ‘__NETIF_F_BIT’ 196 | #define NETIF_F_ETHTOOL_BITS ((__NETIF_F_BIT(NETDEV_FEATURE_COUNT - 1) | \ | ^~~~~~~~~~~~~ ../net/ethtool/ioctl.c:143:22: note: in expansion of macro ‘NETIF_F_ETHTOOL_BITS’ 143 | if (valid & ~NETIF_F_ETHTOOL_BITS) | ^~~~~~~~~~~~~~~~~~~~ ../include/linux/netdev_features.h:105:55: warning: left shift count >= width of type [-Wshift-count-overflow] 105 | #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) | ^~ ../include/linux/netdev_features.h:197:18: note: in expansion of macro ‘__NETIF_F_BIT’ 197 | (__NETIF_F_BIT(NETDEV_FEATURE_COUNT - 1) - 1)) & \ | ^~~~~~~~~~~~~ ../net/ethtool/ioctl.c:143:22: note: in expansion of macro ‘NETIF_F_ETHTOOL_BITS’ 143 | if (valid & ~NETIF_F_ETHTOOL_BITS) | ^~~~~~~~~~~~~~~~~~~~ In file included from : In function ‘ethtool_get_features’, inlined from ‘__dev_ethtool’ at ../net/ethtool/ioctl.c:3277:8: ./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_1769’ declared with attribute error: BUILD_BUG_ON failed: ETHTOOL_DEV_FEATURE_WORDS * sizeof(u32) > sizeof(netdev_features_t) 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:498:25: note: in definition of macro ‘__compiletime_assert’ 498 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:517:9: note: in expansion of macro ‘_compiletime_assert’ 517 | _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) | ^~~~~~~~~~~~~~~~ ../net/ethtool/ioctl.c:94:9: note: in expansion of macro ‘BUILD_BUG_ON’ 94 | BUILD_BUG_ON(ETHTOOL_DEV_FEATURE_WORDS * sizeof(u32) > sizeof(netdev_features_t)); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:229: net/ethtool/ioctl.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from : In function ‘net_gso_ok’, inlined from ‘sk_can_gso’ at ../include/net/sock.h:2164:9, inlined from ‘sk_setup_caps’ at ../net/core/sock.c:2523:6: ./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_1367’ declared with attribute error: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:498:25: note: in definition of macro ‘__compiletime_assert’ 498 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:517:9: note: in expansion of macro ‘_compiletime_assert’ 517 | _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/netdevice.h:5053:9: note: in expansion of macro ‘BUILD_BUG_ON’ 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:229: net/core/sock.o] Error 1 make[5]: *** Waiting for unfinished jobs.... ../net/mctp/route.c:160:9: warning: context imbalance in 'mctp_lookup_key' - different lock contexts for basic block ../net/mctp/route.c:524:39: warning: context imbalance in 'mctp_route_input' - unexpected unlock In file included from ../include/linux/bits.h:7, from ../include/linux/bitops.h:6, from ../include/linux/bitmap.h:8, from ../include/linux/ethtool.h:16, from ../include/uapi/linux/ethtool_netlink.h:12, from ../include/linux/ethtool_netlink.h:6, from ../net/ethtool/netlink.h:6, from ../net/ethtool/features.c:3: ../net/ethtool/features.c: In function ‘features_prepare_data’: ../include/uapi/linux/bits.h:13:20: warning: right shift count is negative [-Wshift-count-negative] 13 | (~_ULL(0) >> (__BITS_PER_LONG_LONG - 1 - (h)))) | ^~ ../include/linux/bits.h:37:38: note: in expansion of macro ‘__GENMASK_ULL’ 37 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK_ULL(h, l)) | ^~~~~~~~~~~~~ ../net/ethtool/features.c:48:24: note: in expansion of macro ‘GENMASK_ULL’ 48 | all_features = GENMASK_ULL(NETDEV_FEATURE_COUNT - 1, 0); | ^~~~~~~~~~~ In file included from ../include/linux/skbuff.h:29, from ../include/linux/if_ether.h:19, from ../include/linux/ethtool.h:18: ../net/ethtool/features.c: In function ‘ethnl_set_features’: ../include/linux/netdev_features.h:105:55: warning: left shift count >= width of type [-Wshift-count-overflow] 105 | #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) | ^~ ../include/linux/netdev_features.h:196:35: note: in expansion of macro ‘__NETIF_F_BIT’ 196 | #define NETIF_F_ETHTOOL_BITS ((__NETIF_F_BIT(NETDEV_FEATURE_COUNT - 1) | \ | ^~~~~~~~~~~~~ ../net/ethtool/features.c:247:51: note: in expansion of macro ‘NETIF_F_ETHTOOL_BITS’ 247 | if (ethnl_bitmap_to_features(req_mask) & ~NETIF_F_ETHTOOL_BITS) { | ^~~~~~~~~~~~~~~~~~~~ ../include/linux/netdev_features.h:105:55: warning: left shift count >= width of type [-Wshift-count-overflow] 105 | #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) | ^~ ../include/linux/netdev_features.h:197:18: note: in expansion of macro ‘__NETIF_F_BIT’ 197 | (__NETIF_F_BIT(NETDEV_FEATURE_COUNT - 1) - 1)) & \ | ^~~~~~~~~~~~~ ../net/ethtool/features.c:247:51: note: in expansion of macro ‘NETIF_F_ETHTOOL_BITS’ 247 | if (ethnl_bitmap_to_features(req_mask) & ~NETIF_F_ETHTOOL_BITS) { | ^~~~~~~~~~~~~~~~~~~~ ../net/mpls/af_mpls.c: note: in included file: ../net/mpls/internal.h:157:38: warning: array of flexible structures ../net/ethtool/features.c:48:24: warning: shift too big (4294967295) for type unsigned long long ../net/ethtool/features.c:152:51: warning: shift too big (4294967295) for type unsigned long long ../net/ethtool/features.c:247:51: warning: shift too big (64) for type unsigned long long ../net/core/dev_addr_lists.c: note: in included file (through ../include/linux/sysctl.h, ../include/net/net_namespace.h, ../include/linux/netdevice.h): ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../net/llc/llc_c_ac.c:1008:38: warning: cast truncates bits from constant value (ffffff7f becomes 7f) ../net/llc/llc_c_ac.c:1009:42: warning: cast truncates bits from constant value (ffffff7f becomes 7f) ../net/llc/llc_c_ac.c:1099:27: warning: cast truncates bits from constant value (ffffff7f becomes 7f) ../net/llc/llc_c_ac.c:1100:31: warning: cast truncates bits from constant value (ffffff7f becomes 7f) ../net/core/flow_dissector.c: note: in included file (through ../include/linux/if_pppox.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures make[4]: *** [../scripts/Makefile.build:478: net/ethtool] Error 2 ../net/mptcp/protocol.c:3365:9: warning: context imbalance in 'mptcp_sk_clone_init' - unexpected unlock ../net/llc/llc_proc.c:56:9: warning: context imbalance in 'llc_get_sk_idx' - wrong count at exit ../net/llc/llc_proc.c:102:23: warning: context imbalance in 'llc_seq_next' - unexpected unlock ../net/llc/llc_proc.c:117:17: warning: context imbalance in 'llc_seq_stop' - unexpected unlock In file included from : In function ‘net_gso_ok’, inlined from ‘skb_segment’ at ../net/core/skbuff.c:4747:9: ./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_1367’ declared with attribute error: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:498:25: note: in definition of macro ‘__compiletime_assert’ 498 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:517:9: note: in expansion of macro ‘_compiletime_assert’ 517 | _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/netdevice.h:5053:9: note: in expansion of macro ‘BUILD_BUG_ON’ 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:229: net/core/skbuff.o] Error 1 ../net/mptcp/pm_netlink.c:640:31: warning: context imbalance in 'mptcp_pm_create_subflow_or_signal_addr' - unexpected unlock ../net/mptcp/pm_netlink.c:757:23: warning: context imbalance in 'mptcp_pm_nl_add_addr_received' - unexpected unlock In file included from : In function ‘net_gso_ok’, inlined from ‘skb_gso_ok’ at ../include/linux/netdevice.h:5076:9, inlined from ‘netif_needs_gso’ at ../include/linux/netdevice.h:5083:30, inlined from ‘tap_handle_frame’ at ../drivers/net/tap.c:345:6: ./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_1330’ declared with attribute error: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:498:25: note: in definition of macro ‘__compiletime_assert’ 498 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:517:9: note: in expansion of macro ‘_compiletime_assert’ 517 | _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/netdevice.h:5053:9: note: in expansion of macro ‘BUILD_BUG_ON’ 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:229: drivers/net/tap.o] Error 1 make[5]: *** Waiting for unfinished jobs.... ../net/core/neighbour.c:452:9: warning: context imbalance in '__neigh_ifdown' - wrong count at exit ../net/core/neighbour.c:867:9: warning: context imbalance in 'pneigh_ifdown_and_unlock' - unexpected unlock In file included from : ../net/core/dev.c: In function ‘register_netdevice’: ./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_3693’ declared with attribute error: BUILD_BUG_ON failed: sizeof(netdev_features_t) * BITS_PER_BYTE < NETDEV_FEATURE_COUNT 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:498:25: note: in definition of macro ‘__compiletime_assert’ 498 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:517:9: note: in expansion of macro ‘_compiletime_assert’ 517 | _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) | ^~~~~~~~~~~~~~~~ ../net/core/dev.c:10444:9: note: in expansion of macro ‘BUILD_BUG_ON’ 10444 | BUILD_BUG_ON(sizeof(netdev_features_t) * BITS_PER_BYTE < | ^~~~~~~~~~~~ In function ‘register_netdevice’, inlined from ‘register_netdev’ at ../net/core/dev.c:10687:8: ./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_3693’ declared with attribute error: BUILD_BUG_ON failed: sizeof(netdev_features_t) * BITS_PER_BYTE < NETDEV_FEATURE_COUNT 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:498:25: note: in definition of macro ‘__compiletime_assert’ 498 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:517:9: note: in expansion of macro ‘_compiletime_assert’ 517 | _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) | ^~~~~~~~~~~~~~~~ ../net/core/dev.c:10444:9: note: in expansion of macro ‘BUILD_BUG_ON’ 10444 | BUILD_BUG_ON(sizeof(netdev_features_t) * BITS_PER_BYTE < | ^~~~~~~~~~~~ In function ‘net_gso_ok’, inlined from ‘skb_gso_ok’ at ../include/linux/netdevice.h:5076:9, inlined from ‘netif_needs_gso’ at ../include/linux/netdevice.h:5083:30, inlined from ‘validate_xmit_skb’ at ../net/core/dev.c:3668:6: ./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_1423’ declared with attribute error: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:498:25: note: in definition of macro ‘__compiletime_assert’ 498 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:517:9: note: in expansion of macro ‘_compiletime_assert’ 517 | _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/netdevice.h:5053:9: note: in expansion of macro ‘BUILD_BUG_ON’ 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:229: net/core/dev.o] Error 1 ../drivers/net/bareudp.c:290:14: warning: incorrect type in assignment (different address spaces) ../drivers/net/bareudp.c:290:14: expected struct socket *sock ../drivers/net/bareudp.c:290:14: got struct socket [noderef] __rcu *sock ../drivers/net/bareudp.c:620:20: warning: incorrect type in assignment (different base types) ../drivers/net/bareudp.c:620:20: expected restricted __be16 [usertype] port ../drivers/net/bareudp.c:620:20: got unsigned short ../drivers/net/bareudp.c:621:25: warning: incorrect type in assignment (different base types) ../drivers/net/bareudp.c:621:25: expected restricted __be16 [usertype] ethertype ../drivers/net/bareudp.c:621:25: got unsigned short make[4]: *** [../scripts/Makefile.build:478: net/core] Error 2 ../drivers/net/team/team_mode_activebackup.c:54:40: error: incompatible types in comparison expression (different address spaces): ../drivers/net/team/team_mode_activebackup.c:54:40: struct team_port [noderef] __rcu * ../drivers/net/team/team_mode_activebackup.c:54:40: struct team_port * ../drivers/net/ipvlan/ipvlan_core.c:54:36: warning: incorrect type in argument 1 (different base types) ../drivers/net/ipvlan/ipvlan_core.c:54:36: expected unsigned int [usertype] a ../drivers/net/ipvlan/ipvlan_core.c:54:36: got restricted __be32 const [usertype] s_addr In file included from : In function ‘net_gso_ok’, inlined from ‘skb_gso_ok’ at ../include/linux/netdevice.h:5076:9, inlined from ‘netif_needs_gso’ at ../include/linux/netdevice.h:5083:30, inlined from ‘xennet_start_xmit’ at ../drivers/net/xen-netfront.c:776:6: ./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_1330’ declared with attribute error: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:498:25: note: in definition of macro ‘__compiletime_assert’ 498 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:517:9: note: in expansion of macro ‘_compiletime_assert’ 517 | _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/netdevice.h:5053:9: note: in expansion of macro ‘BUILD_BUG_ON’ 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:229: drivers/net/xen-netfront.o] Error 1 ../drivers/net/arcnet/com20020-pci.c: In function ‘com20020pci_probe’: ../drivers/net/arcnet/com20020-pci.c:222:71: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 10 and 11 [-Wformat-truncation=] 222 | snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); | ^~ ../drivers/net/arcnet/com20020-pci.c:222:64: note: directive argument in the range [-2147483641, 2147483646] 222 | snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); | ^~~~~~~~~~ ../drivers/net/arcnet/com20020-pci.c:222:25: note: ‘snprintf’ output between 7 and 18 bytes into a destination of size 16 222 | snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/team/team_mode_loadbalance.c:373:14: warning: incorrect type in assignment (different address spaces) ../drivers/net/team/team_mode_loadbalance.c:373:14: expected struct team_port *port ../drivers/net/team/team_mode_loadbalance.c:373:14: got struct team_port [noderef] __rcu *port ../drivers/net/bonding/bond_options.c:1229:24: warning: incorrect type in assignment (different base types) ../drivers/net/bonding/bond_options.c:1229:24: expected restricted __be32 [addressable] [usertype] target ../drivers/net/bonding/bond_options.c:1229:24: got unsigned long long const [usertype] value ../drivers/net/fddi/skfp/fplustm.c:447:50: warning: cast truncates bits from constant value (1000000 becomes 0) ../drivers/net/fddi/skfp/fplustm.c:545:9: warning: cast truncates bits from constant value (ffff67ff becomes 67ff) ../drivers/net/fddi/skfp/fplustm.c:548:9: warning: cast truncates bits from constant value (ffff3b89 becomes 3b89) ../drivers/net/fddi/skfp/fplustm.c:948:17: warning: cast truncates bits from constant value (ffffffffffff0218 becomes 218) ../drivers/net/fddi/skfp/drvfbi.c:55:14: warning: symbol 'oem_id' was not declared. Should it be static? ../drivers/net/vxlan/vxlan_core.c:392:34: warning: incorrect type in argument 2 (different base types) ../drivers/net/vxlan/vxlan_core.c:392:34: expected unsigned int [usertype] b ../drivers/net/vxlan/vxlan_core.c:392:34: got restricted __be32 [usertype] vni ../drivers/net/can/peak_canfd/peak_pciefd_main.c:146:32: warning: array of flexible structures make[4]: *** [../scripts/Makefile.build:478: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:478: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:478: net] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1936: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files In file included from : In function ‘net_gso_ok’, inlined from ‘skb_gso_ok’ at ../include/linux/netdevice.h:5076:9, inlined from ‘tcp_gso_segment’ at ../net/ipv4/tcp_offload.c:163:6: ./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_1367’ declared with attribute error: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:498:25: note: in definition of macro ‘__compiletime_assert’ 498 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:517:9: note: in expansion of macro ‘_compiletime_assert’ 517 | _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/netdevice.h:5053:9: note: in expansion of macro ‘BUILD_BUG_ON’ 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:229: net/ipv4/tcp_offload.o] Error 1 make[4]: *** [../scripts/Makefile.build:478: net/ipv4] Error 2 make[4]: *** Waiting for unfinished jobs.... ../net/appletalk/aarp.c:446:28: warning: incorrect type in assignment (different base types) ../net/appletalk/aarp.c:446:28: expected restricted __be16 [usertype] s_net ../net/appletalk/aarp.c:446:28: got unsigned short [usertype] ../net/appletalk/aarp.c:451:45: warning: cast from restricted __be16 ../net/appletalk/aarp.c:455:41: warning: cast from restricted __be16 ../net/core/xdp.c:708:17: warning: symbol 'bpf_xdp_metadata_rx_timestamp' was not declared. Should it be static? ../net/core/xdp.c:730:17: warning: symbol 'bpf_xdp_metadata_rx_hash' was not declared. Should it be static? ../net/core/xdp.c:763:17: warning: symbol 'bpf_xdp_metadata_rx_vlan_tag' was not declared. Should it be static? In file included from : In function ‘net_gso_ok’, inlined from ‘sk_can_gso’ at ../include/net/sock.h:2164:9, inlined from ‘sk_setup_caps’ at ../net/core/sock.c:2523:6: ./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_1367’ declared with attribute error: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:498:25: note: in definition of macro ‘__compiletime_assert’ 498 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:517:9: note: in expansion of macro ‘_compiletime_assert’ 517 | _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/netdevice.h:5053:9: note: in expansion of macro ‘BUILD_BUG_ON’ 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:229: net/core/sock.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../include/linux/skbuff.h:29, from ../include/linux/if_ether.h:19, from ../include/linux/etherdevice.h:20, from ../net/ethtool/ioctl.c:11: ../net/ethtool/ioctl.c: In function ‘ethtool_set_features’: ../include/linux/netdev_features.h:105:55: warning: left shift count >= width of type [-Wshift-count-overflow] 105 | #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) | ^~ ../include/linux/netdev_features.h:196:35: note: in expansion of macro ‘__NETIF_F_BIT’ 196 | #define NETIF_F_ETHTOOL_BITS ((__NETIF_F_BIT(NETDEV_FEATURE_COUNT - 1) | \ | ^~~~~~~~~~~~~ ../net/ethtool/ioctl.c:143:22: note: in expansion of macro ‘NETIF_F_ETHTOOL_BITS’ 143 | if (valid & ~NETIF_F_ETHTOOL_BITS) | ^~~~~~~~~~~~~~~~~~~~ ../include/linux/netdev_features.h:105:55: warning: left shift count >= width of type [-Wshift-count-overflow] 105 | #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) | ^~ ../include/linux/netdev_features.h:197:18: note: in expansion of macro ‘__NETIF_F_BIT’ 197 | (__NETIF_F_BIT(NETDEV_FEATURE_COUNT - 1) - 1)) & \ | ^~~~~~~~~~~~~ ../net/ethtool/ioctl.c:143:22: note: in expansion of macro ‘NETIF_F_ETHTOOL_BITS’ 143 | if (valid & ~NETIF_F_ETHTOOL_BITS) | ^~~~~~~~~~~~~~~~~~~~ In file included from : In function ‘ethtool_get_features’, inlined from ‘__dev_ethtool’ at ../net/ethtool/ioctl.c:3277:8: ./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_1769’ declared with attribute error: BUILD_BUG_ON failed: ETHTOOL_DEV_FEATURE_WORDS * sizeof(u32) > sizeof(netdev_features_t) 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:498:25: note: in definition of macro ‘__compiletime_assert’ 498 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:517:9: note: in expansion of macro ‘_compiletime_assert’ 517 | _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) | ^~~~~~~~~~~~~~~~ ../net/ethtool/ioctl.c:94:9: note: in expansion of macro ‘BUILD_BUG_ON’ 94 | BUILD_BUG_ON(ETHTOOL_DEV_FEATURE_WORDS * sizeof(u32) > sizeof(netdev_features_t)); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:229: net/ethtool/ioctl.o] Error 1 make[5]: *** Waiting for unfinished jobs.... ../net/appletalk/ddp.c:101:33: warning: restricted __be16 degrades to integer ../net/appletalk/ddp.c:126:33: warning: restricted __be16 degrades to integer ../net/appletalk/ddp.c:422:47: warning: restricted __be16 degrades to integer ../net/bluetooth/af_bluetooth.c:223:25: warning: context imbalance in 'bt_accept_enqueue' - different lock contexts for basic block In file included from : In function ‘net_gso_ok’, inlined from ‘skb_gso_ok’ at ../include/linux/netdevice.h:5076:9, inlined from ‘__skb_gso_segment’ at ../net/core/gso.c:111:8: ./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_1367’ declared with attribute error: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:498:25: note: in definition of macro ‘__compiletime_assert’ 498 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:517:9: note: in expansion of macro ‘_compiletime_assert’ 517 | _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/netdevice.h:5053:9: note: in expansion of macro ‘BUILD_BUG_ON’ 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:229: net/core/gso.o] Error 1 ../net/ax25/ax25_std_timer.c:29:6: warning: context imbalance in 'ax25_std_heartbeat_expiry' - different lock contexts for basic block make[4]: *** [../scripts/Makefile.build:478: net/ethtool] Error 2 ../net/rxrpc/conn_service.c:56:9: warning: context imbalance in 'rxrpc_find_service_conn_rcu' - different lock contexts for basic block ../net/rxrpc/conn_service.c: note: in included file (through ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.h): ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../net/packet/af_packet.c:1113:13: warning: context imbalance in '__packet_lookup_frame_in_block' - different lock contexts for basic block ../net/packet/af_packet.c:2555:17: warning: context imbalance in 'tpacket_rcv' - unexpected unlock ../net/sunrpc/auth.c:628:34: warning: incorrect type in initializer (different address spaces) ../net/sunrpc/auth.c:628:34: expected struct cred const *cred ../net/sunrpc/auth.c:628:34: got struct cred const [noderef] __rcu *extern [addressable] [toplevel] cred In file included from : ../net/core/dev.c: In function ‘register_netdevice’: ./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_3693’ declared with attribute error: BUILD_BUG_ON failed: sizeof(netdev_features_t) * BITS_PER_BYTE < NETDEV_FEATURE_COUNT 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:498:25: note: in definition of macro ‘__compiletime_assert’ 498 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:517:9: note: in expansion of macro ‘_compiletime_assert’ 517 | _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) | ^~~~~~~~~~~~~~~~ ../net/core/dev.c:10444:9: note: in expansion of macro ‘BUILD_BUG_ON’ 10444 | BUILD_BUG_ON(sizeof(netdev_features_t) * BITS_PER_BYTE < | ^~~~~~~~~~~~ In function ‘register_netdevice’, inlined from ‘register_netdev’ at ../net/core/dev.c:10687:8: ./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_3693’ declared with attribute error: BUILD_BUG_ON failed: sizeof(netdev_features_t) * BITS_PER_BYTE < NETDEV_FEATURE_COUNT 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:498:25: note: in definition of macro ‘__compiletime_assert’ 498 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:517:9: note: in expansion of macro ‘_compiletime_assert’ 517 | _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) | ^~~~~~~~~~~~~~~~ ../net/core/dev.c:10444:9: note: in expansion of macro ‘BUILD_BUG_ON’ 10444 | BUILD_BUG_ON(sizeof(netdev_features_t) * BITS_PER_BYTE < | ^~~~~~~~~~~~ In function ‘net_gso_ok’, inlined from ‘skb_gso_ok’ at ../include/linux/netdevice.h:5076:9, inlined from ‘netif_needs_gso’ at ../include/linux/netdevice.h:5083:30, inlined from ‘validate_xmit_skb’ at ../net/core/dev.c:3668:6: ./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_1423’ declared with attribute error: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:498:25: note: in definition of macro ‘__compiletime_assert’ 498 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:517:9: note: in expansion of macro ‘_compiletime_assert’ 517 | _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/netdevice.h:5053:9: note: in expansion of macro ‘BUILD_BUG_ON’ 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:229: net/core/dev.o] Error 1 ../net/rose/rose_route.c:722:41: warning: context imbalance in 'rose_get_neigh' - unexpected unlock ../net/sunrpc/xprt.c:1710:9: warning: context imbalance in 'xprt_dynamic_alloc_slot' - unexpected unlock In file included from : In function ‘net_gso_ok’, inlined from ‘skb_segment’ at ../net/core/skbuff.c:4747:9: ./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_1367’ declared with attribute error: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:498:25: note: in definition of macro ‘__compiletime_assert’ 498 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:517:9: note: in expansion of macro ‘_compiletime_assert’ 517 | _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/netdevice.h:5053:9: note: in expansion of macro ‘BUILD_BUG_ON’ 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:229: net/core/skbuff.o] Error 1 ../net/can/j1939/main.c: note: in included file (through ../include/linux/can/can-ml.h): ../include/linux/netdevice.h:2592:20: warning: context imbalance in '__j1939_rx_release' - wrong count at exit ../net/bluetooth/hci_codec.c: note: in included file: ../include/net/bluetooth/hci_core.h:147:35: warning: array of flexible structures ../net/bluetooth/sco.c: note: in included file: ../include/net/bluetooth/hci_core.h:147:35: warning: array of flexible structures ../net/sunrpc/sysfs.c:268:9: error: incompatible types in comparison expression (different address spaces): ../net/sunrpc/sysfs.c:268:9: char const [noderef] __rcu * ../net/sunrpc/sysfs.c:268:9: char const * ../net/ax25/ax25_ds_timer.c:91:6: warning: context imbalance in 'ax25_ds_heartbeat_expiry' - different lock contexts for basic block ../net/core/filter.c:1423:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1423:39: expected struct sock_filter const *filter ../net/core/filter.c:1423:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1501:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1501:39: expected struct sock_filter const *filter ../net/core/filter.c:1501:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2340:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2340:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2340:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3915:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4648:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5062:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:7954:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:11918:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:11934:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:11950:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:11971:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12161:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1943:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1943:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1943:43: got unsigned long long [usertype] to ../net/core/filter.c:1946:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1946:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1946:36: got unsigned long long [usertype] from ../net/core/filter.c:1946:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1946:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1946:42: got unsigned long long [usertype] to ../net/core/filter.c:1949:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1949:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1949:36: got unsigned long long [usertype] from ../net/core/filter.c:1949:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1949:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1949:42: got unsigned long long [usertype] to ../net/core/filter.c:1994:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1994:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1994:59: got unsigned long long [usertype] to ../net/core/filter.c:1997:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1997:52: expected restricted __be16 [usertype] from ../net/core/filter.c:1997:52: got unsigned long long [usertype] from ../net/core/filter.c:1997:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1997:58: expected restricted __be16 [usertype] to ../net/core/filter.c:1997:58: got unsigned long long [usertype] to ../net/core/filter.c:2000:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2000:52: expected restricted __be32 [usertype] from ../net/core/filter.c:2000:52: got unsigned long long [usertype] from ../net/core/filter.c:2000:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:2000:58: expected restricted __be32 [usertype] to ../net/core/filter.c:2000:58: got unsigned long long [usertype] to ../net/core/filter.c:2050:16: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2050:16: expected unsigned long long ../net/core/filter.c:2050:16: got restricted __wsum [assigned] [usertype] ret ../net/core/filter.c:2072:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2072:35: expected unsigned long long ../net/core/filter.c:2072:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5860:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5860:17: expected unsigned int [usertype] spi ../net/core/filter.c:5860:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5868:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5868:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5868:33: got restricted __be32 const [usertype] a4 make[4]: *** [../scripts/Makefile.build:478: net/core] Error 2 ../net/rxrpc/sendmsg.c:608:5: warning: context imbalance in 'rxrpc_do_sendmsg' - wrong count at exit ../net/bluetooth/hci_event.c: note: in included file (through ../include/net/bluetooth/hci_core.h): ../include/net/bluetooth/hci.h:2599:47: warning: array of flexible structures ../include/net/bluetooth/hci.h:2685:43: warning: array of flexible structures In file included from : In function ‘net_gso_ok’, inlined from ‘skb_gso_ok’ at ../include/linux/netdevice.h:5076:9, inlined from ‘netif_needs_gso’ at ../include/linux/netdevice.h:5083:30, inlined from ‘tap_handle_frame’ at ../drivers/net/tap.c:345:6: ./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_1330’ declared with attribute error: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:498:25: note: in definition of macro ‘__compiletime_assert’ 498 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:517:9: note: in expansion of macro ‘_compiletime_assert’ 517 | _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/netdevice.h:5053:9: note: in expansion of macro ‘BUILD_BUG_ON’ 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:229: drivers/net/tap.o] Error 1 make[5]: *** Waiting for unfinished jobs.... ../net/bridge/netfilter/ebtable_filter.c:19:41: warning: array of flexible structures ../net/bridge/netfilter/ebtable_nat.c:19:41: warning: array of flexible structures ../net/bridge/br_netfilter_hooks.c: note: in included file (through ../include/linux/if_pppox.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures In file included from : In function ‘net_gso_ok’, inlined from ‘skb_gso_ok’ at ../include/linux/netdevice.h:5076:9, inlined from ‘netif_needs_gso’ at ../include/linux/netdevice.h:5083:30, inlined from ‘xennet_start_xmit’ at ../drivers/net/xen-netfront.c:776:6: ./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_1330’ declared with attribute error: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:498:25: note: in definition of macro ‘__compiletime_assert’ 498 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:517:9: note: in expansion of macro ‘_compiletime_assert’ 517 | _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/netdevice.h:5053:9: note: in expansion of macro ‘BUILD_BUG_ON’ 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:229: drivers/net/xen-netfront.o] Error 1 make[4]: *** [../scripts/Makefile.build:478: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:478: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... ../net/bridge/br_multicast.c: note: in included file (through ../include/linux/igmp.h): ../include/uapi/linux/igmp.h:60:32: warning: array of flexible structures ../net/bridge/br_multicast.c: note: in included file: ../include/net/mld.h:32:43: warning: array of flexible structures make[3]: *** [../scripts/Makefile.build:478: net] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1936: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 New errors added --- /tmp/tmp.OJVtsfDVcq 2024-10-17 23:01:30.712510184 -0700 +++ /tmp/tmp.D0qsgZivc4 2024-10-17 23:02:20.854075129 -0700 @@ -29,11 +29,32 @@ -../net/core/gen_stats.c:59:1: warning: context imbalance in 'gnet_stats_start_copy_compat' - wrong count at exit -../net/core/gen_stats.c:32:31: warning: context imbalance in '___gnet_stats_copy_basic' - unexpected unlock -../net/core/gen_stats.c:32:31: warning: context imbalance in 'gnet_stats_copy_rate_est' - unexpected unlock -../net/core/gen_stats.c:32:31: warning: context imbalance in 'gnet_stats_copy_queue' - unexpected unlock -../net/core/gen_stats.c:32:31: warning: context imbalance in 'gnet_stats_copy_app' - unexpected unlock -../net/core/gen_stats.c:32:31: warning: context imbalance in 'gnet_stats_finish_copy' - unexpected unlock -../net/core/gen_estimator.c:71:9: warning: context imbalance in 'est_fetch_counters' - different lock contexts for basic block -../net/core/gen_estimator.c:192:9: warning: context imbalance in 'gen_new_estimator' - different lock contexts for basic block -../net/llc/llc_input.c:198:15: error: incompatible types in comparison expression (different address spaces): -../net/llc/llc_input.c:198:15: int ( [noderef] __rcu * )( ... ) -../net/llc/llc_input.c:198:15: int ( * )( ... ) +../net/appletalk/aarp.c:446:28: warning: incorrect type in assignment (different base types) +../net/appletalk/aarp.c:446:28: expected restricted __be16 [usertype] s_net +../net/appletalk/aarp.c:446:28: got unsigned short [usertype] +../net/appletalk/aarp.c:451:45: warning: cast from restricted __be16 +../net/appletalk/aarp.c:455:41: warning: cast from restricted __be16 +../net/core/xdp.c:708:17: warning: symbol 'bpf_xdp_metadata_rx_timestamp' was not declared. Should it be static? +../net/core/xdp.c:730:17: warning: symbol 'bpf_xdp_metadata_rx_hash' was not declared. Should it be static? +../net/core/xdp.c:763:17: warning: symbol 'bpf_xdp_metadata_rx_vlan_tag' was not declared. Should it be static? +In file included from : +In function ‘net_gso_ok’, + inlined from ‘sk_can_gso’ at ../include/net/sock.h:2164:9, + inlined from ‘sk_setup_caps’ at ../net/core/sock.c:2523:6: +./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_1367’ declared with attribute error: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) + 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^ +./../include/linux/compiler_types.h:498:25: note: in definition of macro ‘__compiletime_assert’ + 498 | prefix ## suffix(); \ + | ^~~~~~ +./../include/linux/compiler_types.h:517:9: note: in expansion of macro ‘_compiletime_assert’ + 517 | _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/netdevice.h:5053:9: note: in expansion of macro ‘BUILD_BUG_ON’ + 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:229: net/core/sock.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... @@ -85,0 +107,4 @@ +../net/appletalk/ddp.c:101:33: warning: restricted __be16 degrades to integer +../net/appletalk/ddp.c:126:33: warning: restricted __be16 degrades to integer +../net/appletalk/ddp.c:422:47: warning: restricted __be16 degrades to integer +../net/bluetooth/af_bluetooth.c:223:25: warning: context imbalance in 'bt_accept_enqueue' - different lock contexts for basic block @@ -88,2 +113,2 @@ - inlined from ‘sk_can_gso’ at ../include/net/sock.h:2164:9, - inlined from ‘sk_setup_caps’ at ../net/core/sock.c:2523:6: + inlined from ‘skb_gso_ok’ at ../include/linux/netdevice.h:5076:9, + inlined from ‘__skb_gso_segment’ at ../net/core/gso.c:111:8: @@ -108,50 +133,5 @@ -make[5]: *** [../scripts/Makefile.build:229: net/core/sock.o] Error 1 -make[5]: *** Waiting for unfinished jobs.... -../net/mctp/route.c:160:9: warning: context imbalance in 'mctp_lookup_key' - different lock contexts for basic block -../net/mctp/route.c:524:39: warning: context imbalance in 'mctp_route_input' - unexpected unlock -In file included from ../include/linux/bits.h:7, - from ../include/linux/bitops.h:6, - from ../include/linux/bitmap.h:8, - from ../include/linux/ethtool.h:16, - from ../include/uapi/linux/ethtool_netlink.h:12, - from ../include/linux/ethtool_netlink.h:6, - from ../net/ethtool/netlink.h:6, - from ../net/ethtool/features.c:3: -../net/ethtool/features.c: In function ‘features_prepare_data’: -../include/uapi/linux/bits.h:13:20: warning: right shift count is negative [-Wshift-count-negative] - 13 | (~_ULL(0) >> (__BITS_PER_LONG_LONG - 1 - (h)))) - | ^~ -../include/linux/bits.h:37:38: note: in expansion of macro ‘__GENMASK_ULL’ - 37 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK_ULL(h, l)) - | ^~~~~~~~~~~~~ -../net/ethtool/features.c:48:24: note: in expansion of macro ‘GENMASK_ULL’ - 48 | all_features = GENMASK_ULL(NETDEV_FEATURE_COUNT - 1, 0); - | ^~~~~~~~~~~ -In file included from ../include/linux/skbuff.h:29, - from ../include/linux/if_ether.h:19, - from ../include/linux/ethtool.h:18: -../net/ethtool/features.c: In function ‘ethnl_set_features’: -../include/linux/netdev_features.h:105:55: warning: left shift count >= width of type [-Wshift-count-overflow] - 105 | #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) - | ^~ -../include/linux/netdev_features.h:196:35: note: in expansion of macro ‘__NETIF_F_BIT’ - 196 | #define NETIF_F_ETHTOOL_BITS ((__NETIF_F_BIT(NETDEV_FEATURE_COUNT - 1) | \ - | ^~~~~~~~~~~~~ -../net/ethtool/features.c:247:51: note: in expansion of macro ‘NETIF_F_ETHTOOL_BITS’ - 247 | if (ethnl_bitmap_to_features(req_mask) & ~NETIF_F_ETHTOOL_BITS) { - | ^~~~~~~~~~~~~~~~~~~~ -../include/linux/netdev_features.h:105:55: warning: left shift count >= width of type [-Wshift-count-overflow] - 105 | #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) - | ^~ -../include/linux/netdev_features.h:197:18: note: in expansion of macro ‘__NETIF_F_BIT’ - 197 | (__NETIF_F_BIT(NETDEV_FEATURE_COUNT - 1) - 1)) & \ - | ^~~~~~~~~~~~~ -../net/ethtool/features.c:247:51: note: in expansion of macro ‘NETIF_F_ETHTOOL_BITS’ - 247 | if (ethnl_bitmap_to_features(req_mask) & ~NETIF_F_ETHTOOL_BITS) { - | ^~~~~~~~~~~~~~~~~~~~ -../net/mpls/af_mpls.c: note: in included file: -../net/mpls/internal.h:157:38: warning: array of flexible structures -../net/ethtool/features.c:48:24: warning: shift too big (4294967295) for type unsigned long long -../net/ethtool/features.c:152:51: warning: shift too big (4294967295) for type unsigned long long -../net/ethtool/features.c:247:51: warning: shift too big (64) for type unsigned long long -../net/core/dev_addr_lists.c: note: in included file (through ../include/linux/sysctl.h, ../include/net/net_namespace.h, ../include/linux/netdevice.h): +make[5]: *** [../scripts/Makefile.build:229: net/core/gso.o] Error 1 +../net/ax25/ax25_std_timer.c:29:6: warning: context imbalance in 'ax25_std_heartbeat_expiry' - different lock contexts for basic block +make[4]: *** [../scripts/Makefile.build:478: net/ethtool] Error 2 +../net/rxrpc/conn_service.c:56:9: warning: context imbalance in 'rxrpc_find_service_conn_rcu' - different lock contexts for basic block +../net/rxrpc/conn_service.c: note: in included file (through ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.h): @@ -161,11 +141,5 @@ -../net/llc/llc_c_ac.c:1008:38: warning: cast truncates bits from constant value (ffffff7f becomes 7f) -../net/llc/llc_c_ac.c:1009:42: warning: cast truncates bits from constant value (ffffff7f becomes 7f) -../net/llc/llc_c_ac.c:1099:27: warning: cast truncates bits from constant value (ffffff7f becomes 7f) -../net/llc/llc_c_ac.c:1100:31: warning: cast truncates bits from constant value (ffffff7f becomes 7f) -../net/core/flow_dissector.c: note: in included file (through ../include/linux/if_pppox.h): -../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures -make[4]: *** [../scripts/Makefile.build:478: net/ethtool] Error 2 -../net/mptcp/protocol.c:3365:9: warning: context imbalance in 'mptcp_sk_clone_init' - unexpected unlock -../net/llc/llc_proc.c:56:9: warning: context imbalance in 'llc_get_sk_idx' - wrong count at exit -../net/llc/llc_proc.c:102:23: warning: context imbalance in 'llc_seq_next' - unexpected unlock -../net/llc/llc_proc.c:117:17: warning: context imbalance in 'llc_seq_stop' - unexpected unlock +../net/packet/af_packet.c:1113:13: warning: context imbalance in '__packet_lookup_frame_in_block' - different lock contexts for basic block +../net/packet/af_packet.c:2555:17: warning: context imbalance in 'tpacket_rcv' - unexpected unlock +../net/sunrpc/auth.c:628:34: warning: incorrect type in initializer (different address spaces) +../net/sunrpc/auth.c:628:34: expected struct cred const *cred +../net/sunrpc/auth.c:628:34: got struct cred const [noderef] __rcu *extern [addressable] [toplevel] cred @@ -173,3 +147,2 @@ -In function ‘net_gso_ok’, - inlined from ‘skb_segment’ at ../net/core/skbuff.c:4747:9: -./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_1367’ declared with attribute error: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) +../net/core/dev.c: In function ‘register_netdevice’: +./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_3693’ declared with attribute error: BUILD_BUG_ON failed: sizeof(netdev_features_t) * BITS_PER_BYTE < NETDEV_FEATURE_COUNT @@ -190,2 +163,2 @@ -../include/linux/netdevice.h:5053:9: note: in expansion of macro ‘BUILD_BUG_ON’ - 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); +../net/core/dev.c:10444:9: note: in expansion of macro ‘BUILD_BUG_ON’ +10444 | BUILD_BUG_ON(sizeof(netdev_features_t) * BITS_PER_BYTE < @@ -193,9 +166,3 @@ -make[5]: *** [../scripts/Makefile.build:229: net/core/skbuff.o] Error 1 -../net/mptcp/pm_netlink.c:640:31: warning: context imbalance in 'mptcp_pm_create_subflow_or_signal_addr' - unexpected unlock -../net/mptcp/pm_netlink.c:757:23: warning: context imbalance in 'mptcp_pm_nl_add_addr_received' - unexpected unlock -In file included from : -In function ‘net_gso_ok’, - inlined from ‘skb_gso_ok’ at ../include/linux/netdevice.h:5076:9, - inlined from ‘netif_needs_gso’ at ../include/linux/netdevice.h:5083:30, - inlined from ‘tap_handle_frame’ at ../drivers/net/tap.c:345:6: -./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_1330’ declared with attribute error: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) +In function ‘register_netdevice’, + inlined from ‘register_netdev’ at ../net/core/dev.c:10687:8: +./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_3693’ declared with attribute error: BUILD_BUG_ON failed: sizeof(netdev_features_t) * BITS_PER_BYTE < NETDEV_FEATURE_COUNT @@ -216,2 +183,2 @@ -../include/linux/netdevice.h:5053:9: note: in expansion of macro ‘BUILD_BUG_ON’ - 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); +../net/core/dev.c:10444:9: note: in expansion of macro ‘BUILD_BUG_ON’ +10444 | BUILD_BUG_ON(sizeof(netdev_features_t) * BITS_PER_BYTE < @@ -219,7 +186,5 @@ -make[5]: *** [../scripts/Makefile.build:229: drivers/net/tap.o] Error 1 -make[5]: *** Waiting for unfinished jobs.... -../net/core/neighbour.c:452:9: warning: context imbalance in '__neigh_ifdown' - wrong count at exit -../net/core/neighbour.c:867:9: warning: context imbalance in 'pneigh_ifdown_and_unlock' - unexpected unlock -In file included from : -../net/core/dev.c: In function ‘register_netdevice’: -./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_3693’ declared with attribute error: BUILD_BUG_ON failed: sizeof(netdev_features_t) * BITS_PER_BYTE < NETDEV_FEATURE_COUNT +In function ‘net_gso_ok’, + inlined from ‘skb_gso_ok’ at ../include/linux/netdevice.h:5076:9, + inlined from ‘netif_needs_gso’ at ../include/linux/netdevice.h:5083:30, + inlined from ‘validate_xmit_skb’ at ../net/core/dev.c:3668:6: +./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_1423’ declared with attribute error: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) @@ -240,2 +205,2 @@ -../net/core/dev.c:10444:9: note: in expansion of macro ‘BUILD_BUG_ON’ -10444 | BUILD_BUG_ON(sizeof(netdev_features_t) * BITS_PER_BYTE < +../include/linux/netdevice.h:5053:9: note: in expansion of macro ‘BUILD_BUG_ON’ + 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); @@ -243,3 +208,7 @@ -In function ‘register_netdevice’, - inlined from ‘register_netdev’ at ../net/core/dev.c:10687:8: -./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_3693’ declared with attribute error: BUILD_BUG_ON failed: sizeof(netdev_features_t) * BITS_PER_BYTE < NETDEV_FEATURE_COUNT +make[5]: *** [../scripts/Makefile.build:229: net/core/dev.o] Error 1 +../net/rose/rose_route.c:722:41: warning: context imbalance in 'rose_get_neigh' - unexpected unlock +../net/sunrpc/xprt.c:1710:9: warning: context imbalance in 'xprt_dynamic_alloc_slot' - unexpected unlock +In file included from : +In function ‘net_gso_ok’, + inlined from ‘skb_segment’ at ../net/core/skbuff.c:4747:9: +./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_1367’ declared with attribute error: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) @@ -260,2 +229,2 @@ -../net/core/dev.c:10444:9: note: in expansion of macro ‘BUILD_BUG_ON’ -10444 | BUILD_BUG_ON(sizeof(netdev_features_t) * BITS_PER_BYTE < +../include/linux/netdevice.h:5053:9: note: in expansion of macro ‘BUILD_BUG_ON’ + 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); @@ -262,0 +232,77 @@ +make[5]: *** [../scripts/Makefile.build:229: net/core/skbuff.o] Error 1 +../net/can/j1939/main.c: note: in included file (through ../include/linux/can/can-ml.h): +../include/linux/netdevice.h:2592:20: warning: context imbalance in '__j1939_rx_release' - wrong count at exit +../net/bluetooth/hci_codec.c: note: in included file: +../include/net/bluetooth/hci_core.h:147:35: warning: array of flexible structures +../net/bluetooth/sco.c: note: in included file: +../include/net/bluetooth/hci_core.h:147:35: warning: array of flexible structures +../net/sunrpc/sysfs.c:268:9: error: incompatible types in comparison expression (different address spaces): +../net/sunrpc/sysfs.c:268:9: char const [noderef] __rcu * +../net/sunrpc/sysfs.c:268:9: char const * +../net/ax25/ax25_ds_timer.c:91:6: warning: context imbalance in 'ax25_ds_heartbeat_expiry' - different lock contexts for basic block +../net/core/filter.c:1423:39: warning: incorrect type in argument 1 (different address spaces) +../net/core/filter.c:1423:39: expected struct sock_filter const *filter +../net/core/filter.c:1423:39: got struct sock_filter [noderef] __user *filter +../net/core/filter.c:1501:39: warning: incorrect type in argument 1 (different address spaces) +../net/core/filter.c:1501:39: expected struct sock_filter const *filter +../net/core/filter.c:1501:39: got struct sock_filter [noderef] __user *filter +../net/core/filter.c:2340:45: warning: incorrect type in argument 2 (different base types) +../net/core/filter.c:2340:45: expected restricted __be32 [usertype] daddr +../net/core/filter.c:2340:45: got unsigned int [usertype] ipv4_nh +../net/core/filter.c:3915:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? +../net/core/filter.c:4648:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? +../net/core/filter.c:5062:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? +../net/core/filter.c:7954:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? +../net/core/filter.c:11918:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? +../net/core/filter.c:11934:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? +../net/core/filter.c:11950:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? +../net/core/filter.c:11971:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? +../net/core/filter.c:12161:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? +../net/core/filter.c:1943:43: warning: incorrect type in argument 2 (different base types) +../net/core/filter.c:1943:43: expected restricted __wsum [usertype] diff +../net/core/filter.c:1943:43: got unsigned long long [usertype] to +../net/core/filter.c:1946:36: warning: incorrect type in argument 2 (different base types) +../net/core/filter.c:1946:36: expected restricted __be16 [usertype] old +../net/core/filter.c:1946:36: got unsigned long long [usertype] from +../net/core/filter.c:1946:42: warning: incorrect type in argument 3 (different base types) +../net/core/filter.c:1946:42: expected restricted __be16 [usertype] new +../net/core/filter.c:1946:42: got unsigned long long [usertype] to +../net/core/filter.c:1949:36: warning: incorrect type in argument 2 (different base types) +../net/core/filter.c:1949:36: expected restricted __be32 [usertype] from +../net/core/filter.c:1949:36: got unsigned long long [usertype] from +../net/core/filter.c:1949:42: warning: incorrect type in argument 3 (different base types) +../net/core/filter.c:1949:42: expected restricted __be32 [usertype] to +../net/core/filter.c:1949:42: got unsigned long long [usertype] to +../net/core/filter.c:1994:59: warning: incorrect type in argument 3 (different base types) +../net/core/filter.c:1994:59: expected restricted __wsum [usertype] diff +../net/core/filter.c:1994:59: got unsigned long long [usertype] to +../net/core/filter.c:1997:52: warning: incorrect type in argument 3 (different base types) +../net/core/filter.c:1997:52: expected restricted __be16 [usertype] from +../net/core/filter.c:1997:52: got unsigned long long [usertype] from +../net/core/filter.c:1997:58: warning: incorrect type in argument 4 (different base types) +../net/core/filter.c:1997:58: expected restricted __be16 [usertype] to +../net/core/filter.c:1997:58: got unsigned long long [usertype] to +../net/core/filter.c:2000:52: warning: incorrect type in argument 3 (different base types) +../net/core/filter.c:2000:52: expected restricted __be32 [usertype] from +../net/core/filter.c:2000:52: got unsigned long long [usertype] from +../net/core/filter.c:2000:58: warning: incorrect type in argument 4 (different base types) +../net/core/filter.c:2000:58: expected restricted __be32 [usertype] to +../net/core/filter.c:2000:58: got unsigned long long [usertype] to +../net/core/filter.c:2050:16: warning: incorrect type in return expression (different base types) +../net/core/filter.c:2050:16: expected unsigned long long +../net/core/filter.c:2050:16: got restricted __wsum [assigned] [usertype] ret +../net/core/filter.c:2072:35: warning: incorrect type in return expression (different base types) +../net/core/filter.c:2072:35: expected unsigned long long +../net/core/filter.c:2072:35: got restricted __wsum [usertype] csum +../net/core/filter.c:5860:17: warning: incorrect type in assignment (different base types) +../net/core/filter.c:5860:17: expected unsigned int [usertype] spi +../net/core/filter.c:5860:17: got restricted __be32 const [usertype] spi +../net/core/filter.c:5868:33: warning: incorrect type in assignment (different base types) +../net/core/filter.c:5868:33: expected unsigned int [usertype] remote_ipv4 +../net/core/filter.c:5868:33: got restricted __be32 const [usertype] a4 +make[4]: *** [../scripts/Makefile.build:478: net/core] Error 2 +../net/rxrpc/sendmsg.c:608:5: warning: context imbalance in 'rxrpc_do_sendmsg' - wrong count at exit +../net/bluetooth/hci_event.c: note: in included file (through ../include/net/bluetooth/hci_core.h): +../include/net/bluetooth/hci.h:2599:47: warning: array of flexible structures +../include/net/bluetooth/hci.h:2685:43: warning: array of flexible structures +In file included from : @@ -266,2 +312,2 @@ - inlined from ‘validate_xmit_skb’ at ../net/core/dev.c:3668:6: -./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_1423’ declared with attribute error: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) + inlined from ‘tap_handle_frame’ at ../drivers/net/tap.c:345:6: +./../include/linux/compiler_types.h:517:45: error: call to ‘__compiletime_assert_1330’ declared with attribute error: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) @@ -285,17 +331,6 @@ -make[5]: *** [../scripts/Makefile.build:229: net/core/dev.o] Error 1 -../drivers/net/bareudp.c:290:14: warning: incorrect type in assignment (different address spaces) -../drivers/net/bareudp.c:290:14: expected struct socket *sock -../drivers/net/bareudp.c:290:14: got struct socket [noderef] __rcu *sock -../drivers/net/bareudp.c:620:20: warning: incorrect type in assignment (different base types) -../drivers/net/bareudp.c:620:20: expected restricted __be16 [usertype] port -../drivers/net/bareudp.c:620:20: got unsigned short -../drivers/net/bareudp.c:621:25: warning: incorrect type in assignment (different base types) -../drivers/net/bareudp.c:621:25: expected restricted __be16 [usertype] ethertype -../drivers/net/bareudp.c:621:25: got unsigned short -make[4]: *** [../scripts/Makefile.build:478: net/core] Error 2 -../drivers/net/team/team_mode_activebackup.c:54:40: error: incompatible types in comparison expression (different address spaces): -../drivers/net/team/team_mode_activebackup.c:54:40: struct team_port [noderef] __rcu * -../drivers/net/team/team_mode_activebackup.c:54:40: struct team_port * -../drivers/net/ipvlan/ipvlan_core.c:54:36: warning: incorrect type in argument 1 (different base types) -../drivers/net/ipvlan/ipvlan_core.c:54:36: expected unsigned int [usertype] a -../drivers/net/ipvlan/ipvlan_core.c:54:36: got restricted __be32 const [usertype] s_addr +make[5]: *** [../scripts/Makefile.build:229: drivers/net/tap.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +../net/bridge/netfilter/ebtable_filter.c:19:41: warning: array of flexible structures +../net/bridge/netfilter/ebtable_nat.c:19:41: warning: array of flexible structures +../net/bridge/br_netfilter_hooks.c: note: in included file (through ../include/linux/if_pppox.h): +../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures @@ -326,25 +360,0 @@ -../drivers/net/arcnet/com20020-pci.c: In function ‘com20020pci_probe’: -../drivers/net/arcnet/com20020-pci.c:222:71: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 10 and 11 [-Wformat-truncation=] - 222 | snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); - | ^~ -../drivers/net/arcnet/com20020-pci.c:222:64: note: directive argument in the range [-2147483641, 2147483646] - 222 | snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); - | ^~~~~~~~~~ -../drivers/net/arcnet/com20020-pci.c:222:25: note: ‘snprintf’ output between 7 and 18 bytes into a destination of size 16 - 222 | snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/net/team/team_mode_loadbalance.c:373:14: warning: incorrect type in assignment (different address spaces) -../drivers/net/team/team_mode_loadbalance.c:373:14: expected struct team_port *port -../drivers/net/team/team_mode_loadbalance.c:373:14: got struct team_port [noderef] __rcu *port -../drivers/net/bonding/bond_options.c:1229:24: warning: incorrect type in assignment (different base types) -../drivers/net/bonding/bond_options.c:1229:24: expected restricted __be32 [addressable] [usertype] target -../drivers/net/bonding/bond_options.c:1229:24: got unsigned long long const [usertype] value -../drivers/net/fddi/skfp/fplustm.c:447:50: warning: cast truncates bits from constant value (1000000 becomes 0) -../drivers/net/fddi/skfp/fplustm.c:545:9: warning: cast truncates bits from constant value (ffff67ff becomes 67ff) -../drivers/net/fddi/skfp/fplustm.c:548:9: warning: cast truncates bits from constant value (ffff3b89 becomes 3b89) -../drivers/net/fddi/skfp/fplustm.c:948:17: warning: cast truncates bits from constant value (ffffffffffff0218 becomes 218) -../drivers/net/fddi/skfp/drvfbi.c:55:14: warning: symbol 'oem_id' was not declared. Should it be static? -../drivers/net/vxlan/vxlan_core.c:392:34: warning: incorrect type in argument 2 (different base types) -../drivers/net/vxlan/vxlan_core.c:392:34: expected unsigned int [usertype] b -../drivers/net/vxlan/vxlan_core.c:392:34: got restricted __be32 [usertype] vni -../drivers/net/can/peak_canfd/peak_pciefd_main.c:146:32: warning: array of flexible structures @@ -353,0 +364,4 @@ +../net/bridge/br_multicast.c: note: in included file (through ../include/linux/igmp.h): +../include/uapi/linux/igmp.h:60:32: warning: array of flexible structures +../net/bridge/br_multicast.c: note: in included file: +../include/net/mld.h:32:43: warning: array of flexible structures Per-file breakdown --- /tmp/tmp.2KyVYyfLZo 2024-10-17 23:02:20.878074921 -0700 +++ /tmp/tmp.vm9gvYJpI1 2024-10-17 23:02:20.884074869 -0700 @@ -1,11 +1,2 @@ - 1 ../drivers/net/arcnet/com20020-pci.c - 3 ../drivers/net/bareudp.c - 1 ../drivers/net/bonding/bond_options.c - 1 ../drivers/net/can/peak_canfd/peak_pciefd_main.c - 1 ../drivers/net/fddi/skfp/drvfbi.c - 4 ../drivers/net/fddi/skfp/fplustm.c - 1 ../drivers/net/ipvlan/ipvlan_core.c - 1 ../drivers/net/team/team_mode_activebackup.c - 1 ../drivers/net/team/team_mode_loadbalance.c - 1 ../drivers/net/vxlan/vxlan_core.c - 4 ../include/linux/netdev_features.h + 2 ../include/linux/netdev_features.h + 1 ../include/linux/netdevice.h @@ -13 +4,3 @@ - 1 ../include/uapi/linux/bits.h + 2 ../include/net/bluetooth/hci_core.h + 2 ../include/net/bluetooth/hci.h + 1 ../include/net/mld.h @@ -15,11 +8,17 @@ - 2 ../net/core/gen_estimator.c - 6 ../net/core/gen_stats.c - 2 ../net/core/neighbour.c - 3 ../net/ethtool/features.c - 4 ../net/llc/llc_c_ac.c - 1 ../net/llc/llc_input.c - 3 ../net/llc/llc_proc.c - 2 ../net/mctp/route.c - 1 ../net/mpls/internal.h - 2 ../net/mptcp/pm_netlink.c - 1 ../net/mptcp/protocol.c + 1 ../include/uapi/linux/igmp.h + 3 ../net/appletalk/aarp.c + 3 ../net/appletalk/ddp.c + 1 ../net/ax25/ax25_ds_timer.c + 1 ../net/ax25/ax25_std_timer.c + 1 ../net/bluetooth/af_bluetooth.c + 1 ../net/bridge/netfilter/ebtable_filter.c + 1 ../net/bridge/netfilter/ebtable_nat.c + 26 ../net/core/filter.c + 3 ../net/core/xdp.c + 2 ../net/packet/af_packet.c + 1 ../net/rose/rose_route.c + 1 ../net/rxrpc/conn_service.c + 1 ../net/rxrpc/sendmsg.c + 1 ../net/sunrpc/auth.c + 1 ../net/sunrpc/sysfs.c + 1 ../net/sunrpc/xprt.c