========== build_32bit - FAILED ../lib/vsprintf.c: In function ‘va_format’: ../lib/vsprintf.c:1704:9: warning: function ‘va_format’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1704 | buf += vsnprintf(buf, end > buf ? end - buf : 0, va_fmt->fmt, va); | ^~~ In file included from ../include/linux/string.h:392, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../include/linux/sched.h:13, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../drivers/nfc/pn533/pn533.c:9: In function ‘fortify_memcpy_chk’, inlined from ‘pn533_target_found_felica’ at ../drivers/nfc/pn533/pn533.c:781:2: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/block/drbd/drbd_bitmap.c:1220: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_read' ../drivers/block/drbd/drbd_bitmap.c:1232: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write' ../drivers/block/drbd/drbd_bitmap.c:1244: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write_all' ../drivers/block/drbd/drbd_bitmap.c:1271: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write_copy_pages' ../drivers/nvme/host/tcp.c:1578: warning: Function parameter or struct member 'queue' not described in 'nvme_tcp_set_queue_io_cpu' ../drivers/nvme/host/tcp.c:1578: warning: expecting prototype for Track the number of queues assigned to each cpu using a global per(). Prototype was for nvme_tcp_set_queue_io_cpu() instead ../kernel/audit.c: In function ‘audit_log_vformat’: ../kernel/audit.c:1978:9: warning: function ‘audit_log_vformat’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1978 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args); | ^~~ ../kernel/audit.c:1987:17: warning: function ‘audit_log_vformat’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1987 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args2); | ^~~ In file included from ../include/linux/kernel.h:31, from ../include/linux/bcm47xx_nvram.h:10, from ../drivers/firmware/broadcom/bcm47xx_sprom.c:29: ../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_u32.constprop’: ../include/linux/kern_levels.h:5:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/printk.h:473:25: note: in definition of macro ‘printk_index_wrap’ 473 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:554:9: note: in expansion of macro ‘printk’ 554 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ ../include/linux/kern_levels.h:12:25: note: in expansion of macro ‘KERN_SOH’ 12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */ | ^~~~~~~~ ../include/linux/printk.h:554:16: note: in expansion of macro ‘KERN_WARNING’ 554 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:80:17: note: in expansion of macro ‘pr_warn’ 80 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:92:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 92 | NVRAM_READ_VAL(u32) | ^~~~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_s8.constprop’: ../include/linux/kern_levels.h:5:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/printk.h:473:25: note: in definition of macro ‘printk_index_wrap’ 473 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:554:9: note: in expansion of macro ‘printk’ 554 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ ../include/linux/kern_levels.h:12:25: note: in expansion of macro ‘KERN_SOH’ 12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */ | ^~~~~~~~ ../include/linux/printk.h:554:16: note: in expansion of macro ‘KERN_WARNING’ 554 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:80:17: note: in expansion of macro ‘pr_warn’ 80 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:90:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 90 | NVRAM_READ_VAL(s8) | ^~~~~~~~~~~~~~ In file included from ../include/linux/string.h:392, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/scsi/qla2xxx/qla_def.h:12, from ../drivers/scsi/qla2xxx/qla_init.c:6: In function ‘fortify_memcpy_chk’, inlined from ‘qla81xx_nvram_config’ at ../drivers/scsi/qla2xxx/qla_init.c:9250:2: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:392, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../include/linux/smp.h:13, from ../include/linux/lockdep.h:14, from ../include/linux/rcupdate.h:29, from ../include/linux/rculist.h:11, from ../include/linux/sched/signal.h:5, from ../drivers/staging/rtl8723bs/include/drv_types.h:17, from ../drivers/staging/rtl8723bs/core/rtw_security.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘rtw_BIP_verify’ at ../drivers/staging/rtl8723bs/core/rtw_security.c:1424:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:392, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../include/linux/smp.h:13, from ../include/linux/lockdep.h:14, from ../include/linux/rcupdate.h:29, from ../include/linux/rculist.h:11, from ../include/linux/sched/signal.h:5, from ../drivers/staging/rtl8723bs/include/drv_types.h:17, from ../drivers/staging/rtl8723bs/core/rtw_xmit.c:7: In function ‘fortify_memcpy_chk’, inlined from ‘rtw_mgmt_xmitframe_coalesce’ at ../drivers/staging/rtl8723bs/core/rtw_xmit.c:1209:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/qla2xxx/qla_isr.c:3891: warning: Function parameter or struct member 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' In file included from ../include/linux/string.h:392, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/thread_info.h:12, from ../include/linux/thread_info.h:60, from ../include/linux/spinlock.h:60, from ../include/linux/mmzone.h:8, from ../include/linux/gfp.h:7, from ../drivers/scsi/bnx2i/bnx2i_hwi.c:17: In function ‘fortify_memcpy_chk’, inlined from ‘bnx2i_process_login_resp.isra’ at ../drivers/scsi/bnx2i/bnx2i_hwi.c:1460:2: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:207: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'ack' not described in 'tcp_lp_cong_avoid' ../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'acked' not described in 'tcp_lp_cong_avoid' ../net/ipv4/tcp_lp.c:272: warning: Function parameter or struct member 'sample' not described in 'tcp_lp_pkts_acked' ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' In file included from ../include/linux/string.h:392, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘qlcnic_83xx_dcb_query_cee_param’ at ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:614:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/most/most_usb.c:69: warning: Function parameter or struct member 'dev' not described in 'most_dci_obj' ../drivers/most/most_usb.c:69: warning: Excess struct member 'kobj' description in 'most_dci_obj' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'dev' not described in 'most_dev' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'clear_work' not described in 'most_dev' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'on_netinfo' not described in 'most_dev' ../drivers/most/most_usb.c:650: warning: Function parameter or struct member 'on_netinfo' not described in 'hdm_request_netinfo' ../drivers/net/usb/lan78xx.c: In function ‘lan7801_phy_init’: ../drivers/net/usb/lan78xx.c:2514:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 2514 | int ret; | ^~~ ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' In file included from ../include/linux/container_of.h:5, from ../include/linux/list.h:5, from ../include/linux/timer.h:5, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../include/linux/bpf-cgroup.h:5, from ../net/socket.c:55: ../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ ../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ ../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); | ^~~~~~~~~~~~~ make[4]: *** [../scripts/Makefile.build:207: net/socket.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ../include/linux/container_of.h:5, from ../include/linux/list.h:5, from ../include/linux/timer.h:5, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../net/bpf/test_run.c:4: ../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ ../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ ../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); | ^~~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:207: net/bpf/test_run.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../include/linux/bits.h:22, from ../include/linux/bitops.h:6, from ../include/linux/log2.h:12, from ../arch/x86/include/asm/div64.h:8, from ../include/linux/math.h:6, from ../include/linux/math64.h:6, from ../include/linux/time.h:6, from ../include/linux/compat.h:10, from ../net/ethtool/ioctl.c:10: ../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ ../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ ../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); | ^~~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:207: net/ethtool/ioctl.o] Error 1 make[4]: *** [../scripts/Makefile.build:465: net/ethtool] Error 2 In file included from ../include/linux/bits.h:22, from ../include/linux/capability.h:18, from ../net/core/sock.c:89: ../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ ../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ ../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); | ^~~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:207: net/core/sock.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:465: net/bpf] Error 2 In file included from ../include/linux/container_of.h:5, from ../include/linux/kernel.h:22, from ../io_uring/io_uring.c:42: ../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ ../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ ../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); | ^~~~~~~~~~~~~ make[4]: *** [../scripts/Makefile.build:207: io_uring/io_uring.o] Error 1 make[3]: *** [../scripts/Makefile.build:465: io_uring] Error 2 make[3]: *** Waiting for unfinished jobs.... ../lib/vsprintf.c: In function ‘va_format’: ../lib/vsprintf.c:1704:9: warning: function ‘va_format’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1704 | buf += vsnprintf(buf, end > buf ? end - buf : 0, va_fmt->fmt, va); | ^~~ In file included from ../include/linux/bits.h:22, from ../include/linux/bitops.h:6, from ../include/linux/log2.h:12, from ../arch/x86/include/asm/div64.h:8, from ../include/linux/math.h:6, from ../include/linux/math64.h:6, from ../include/linux/time.h:6, from ../include/linux/compat.h:10, from ../fs/select.c:18: ../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ ../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ ../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); | ^~~~~~~~~~~~~ make[4]: *** [../scripts/Makefile.build:207: fs/select.o] Error 1 make[3]: *** [../scripts/Makefile.build:465: fs] Error 2 make[4]: *** [../scripts/Makefile.build:465: net/core] Error 2 In file included from ../include/linux/container_of.h:5, from ../include/linux/list.h:5, from ../include/linux/timer.h:5, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../include/linux/bpf-cgroup.h:5, from ../net/ipv6/udp.c:20: ../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ ../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ ../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); | ^~~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:207: net/ipv6/udp.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../arch/x86/include/asm/percpu.h:31, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/bottom_half.h:6, from ../net/ipv6/tcp_ipv6.c:22: ../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ ../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ ../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); | ^~~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:207: net/ipv6/tcp_ipv6.o] Error 1 In file included from ../include/linux/atomic/atomic-instrumented.h:15, from ../include/linux/atomic.h:82, from ../include/crypto/hash.h:11, from ../net/ipv4/tcp.c:246: ../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ ../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ ../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); | ^~~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:207: net/ipv4/tcp.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../include/linux/init.h:5, from ../include/linux/printk.h:6, from ../include/asm-generic/bug.h:22, from ../arch/x86/include/asm/bug.h:99, from ../include/linux/bug.h:5, from ../include/linux/mmdebug.h:5, from ../include/linux/mm.h:6, from ../net/ipv4/tcp_input.c:67: ../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ ../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ ../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); | ^~~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:207: net/ipv4/tcp_input.o] Error 1 make[4]: *** [../scripts/Makefile.build:465: net/ipv4] Error 2 In file included from ../include/linux/string.h:392, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../include/linux/sched.h:13, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../drivers/nfc/pn533/pn533.c:9: In function ‘fortify_memcpy_chk’, inlined from ‘pn533_target_found_felica’ at ../drivers/nfc/pn533/pn533.c:781:2: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/block/drbd/drbd_bitmap.c:1220: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_read' ../drivers/block/drbd/drbd_bitmap.c:1232: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write' ../drivers/block/drbd/drbd_bitmap.c:1244: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write_all' ../drivers/block/drbd/drbd_bitmap.c:1271: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write_copy_pages' make[4]: *** [../scripts/Makefile.build:465: net/ipv6] Error 2 In file included from ../include/linux/container_of.h:5, from ../include/linux/list.h:5, from ../include/linux/module.h:12, from ../drivers/nvme/host/tcp.c:7: ../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ ../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ ../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); | ^~~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:207: drivers/nvme/host/tcp.o] Error 1 make[5]: *** [../scripts/Makefile.build:465: drivers/nvme/host] Error 2 make[4]: *** [../scripts/Makefile.build:465: drivers/nvme] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../include/linux/bits.h:22, from ../include/linux/bitops.h:6, from ../include/linux/bitmap.h:8, from ../include/linux/ethtool.h:16, from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:6: ../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ ../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ ../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); | ^~~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/amazon/ena/ena_ethtool.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../include/linux/bits.h:22, from ../include/linux/bitops.h:6, from ../include/linux/cpumask_types.h:5, from ../include/linux/cpu_rmap.h:10, from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:9: ../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ ../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ ../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); | ^~~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/amazon/ena/ena_netdev.o] Error 1 make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/amazon/ena] Error 2 make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/amazon] Error 2 make[5]: *** [../scripts/Makefile.build:465: drivers/net/ethernet] Error 2 make[5]: *** Waiting for unfinished jobs.... ../kernel/audit.c: In function ‘audit_log_vformat’: ../kernel/audit.c:1978:9: warning: function ‘audit_log_vformat’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1978 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args); | ^~~ ../kernel/audit.c:1987:17: warning: function ‘audit_log_vformat’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1987 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args2); | ^~~ ../drivers/scsi/qla2xxx/qla_isr.c:3891: warning: Function parameter or struct member 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' In file included from ../include/linux/string.h:392, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/scsi/qla2xxx/qla_def.h:12, from ../drivers/scsi/qla2xxx/qla_init.c:6: In function ‘fortify_memcpy_chk’, inlined from ‘qla81xx_nvram_config’ at ../drivers/scsi/qla2xxx/qla_init.c:9250:2: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/atomic/atomic-instrumented.h:15, from ../include/linux/atomic.h:82, from ../include/linux/filter.h:8, from ../kernel/bpf/core.c:21: ../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ ../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ ../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); | ^~~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:207: kernel/bpf/core.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../include/linux/container_of.h:5, from ../include/linux/list.h:5, from ../include/linux/timer.h:5, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../kernel/bpf/syscall.c:4: ../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ ../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ ../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); | ^~~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:207: kernel/bpf/syscall.o] Error 1 make[4]: *** [../scripts/Makefile.build:465: kernel/bpf] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:465: kernel] Error 2 In file included from ../include/linux/string.h:392, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/thread_info.h:12, from ../include/linux/thread_info.h:60, from ../include/linux/spinlock.h:60, from ../include/linux/mmzone.h:8, from ../include/linux/gfp.h:7, from ../drivers/scsi/bnx2i/bnx2i_hwi.c:17: In function ‘fortify_memcpy_chk’, inlined from ‘bnx2i_process_login_resp.isra’ at ../drivers/scsi/bnx2i/bnx2i_hwi.c:1460:2: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: *** [../scripts/Makefile.build:465: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:465: drivers] Error 2 make[3]: *** [../scripts/Makefile.build:465: net] Error 2 make[2]: *** [/home/nipa/bpf-next/wt-0/Makefile:1989: .] Error 2 make[1]: *** [/home/nipa/bpf-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 New errors added --- /tmp/tmp.ApvM4Jw2tn 2025-03-05 06:49:09.004273975 -0800 +++ /tmp/tmp.79lVAYGYJV 2025-03-05 06:50:49.986292063 -0800 @@ -0,0 +1,85 @@ +In file included from ../include/linux/container_of.h:5, + from ../include/linux/list.h:5, + from ../include/linux/timer.h:5, + from ../include/linux/workqueue.h:9, + from ../include/linux/bpf.h:10, + from ../include/linux/bpf-cgroup.h:5, + from ../net/socket.c:55: +../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" + 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) + | ^~~~~~~~~~~~~~ +../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ + 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) + | ^~~~~~~~~~~~~~~ +../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ + 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); + | ^~~~~~~~~~~~~ +make[4]: *** [../scripts/Makefile.build:207: net/socket.o] Error 1 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../include/linux/container_of.h:5, + from ../include/linux/list.h:5, + from ../include/linux/timer.h:5, + from ../include/linux/workqueue.h:9, + from ../include/linux/bpf.h:10, + from ../net/bpf/test_run.c:4: +../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" + 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) + | ^~~~~~~~~~~~~~ +../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ + 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) + | ^~~~~~~~~~~~~~~ +../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ + 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); + | ^~~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:207: net/bpf/test_run.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../include/linux/bits.h:22, + from ../include/linux/bitops.h:6, + from ../include/linux/log2.h:12, + from ../arch/x86/include/asm/div64.h:8, + from ../include/linux/math.h:6, + from ../include/linux/math64.h:6, + from ../include/linux/time.h:6, + from ../include/linux/compat.h:10, + from ../net/ethtool/ioctl.c:10: +../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" + 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) + | ^~~~~~~~~~~~~~ +../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ + 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) + | ^~~~~~~~~~~~~~~ +../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ + 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); + | ^~~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:207: net/ethtool/ioctl.o] Error 1 +make[4]: *** [../scripts/Makefile.build:465: net/ethtool] Error 2 +In file included from ../include/linux/bits.h:22, + from ../include/linux/capability.h:18, + from ../net/core/sock.c:89: +../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" + 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) + | ^~~~~~~~~~~~~~ +../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ + 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) + | ^~~~~~~~~~~~~~~ +../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ + 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); + | ^~~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:207: net/core/sock.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +make[4]: *** [../scripts/Makefile.build:465: net/bpf] Error 2 +In file included from ../include/linux/container_of.h:5, + from ../include/linux/kernel.h:22, + from ../io_uring/io_uring.c:42: +../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" + 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) + | ^~~~~~~~~~~~~~ +../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ + 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) + | ^~~~~~~~~~~~~~~ +../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ + 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); + | ^~~~~~~~~~~~~ +make[4]: *** [../scripts/Makefile.build:207: io_uring/io_uring.o] Error 1 +make[3]: *** [../scripts/Makefile.build:465: io_uring] Error 2 +make[3]: *** Waiting for unfinished jobs.... @@ -4,0 +90,88 @@ +In file included from ../include/linux/bits.h:22, + from ../include/linux/bitops.h:6, + from ../include/linux/log2.h:12, + from ../arch/x86/include/asm/div64.h:8, + from ../include/linux/math.h:6, + from ../include/linux/math64.h:6, + from ../include/linux/time.h:6, + from ../include/linux/compat.h:10, + from ../fs/select.c:18: +../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" + 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) + | ^~~~~~~~~~~~~~ +../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ + 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) + | ^~~~~~~~~~~~~~~ +../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ + 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); + | ^~~~~~~~~~~~~ +make[4]: *** [../scripts/Makefile.build:207: fs/select.o] Error 1 +make[3]: *** [../scripts/Makefile.build:465: fs] Error 2 +make[4]: *** [../scripts/Makefile.build:465: net/core] Error 2 +In file included from ../include/linux/container_of.h:5, + from ../include/linux/list.h:5, + from ../include/linux/timer.h:5, + from ../include/linux/workqueue.h:9, + from ../include/linux/bpf.h:10, + from ../include/linux/bpf-cgroup.h:5, + from ../net/ipv6/udp.c:20: +../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" + 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) + | ^~~~~~~~~~~~~~ +../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ + 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) + | ^~~~~~~~~~~~~~~ +../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ + 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); + | ^~~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:207: net/ipv6/udp.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../arch/x86/include/asm/percpu.h:31, + from ../arch/x86/include/asm/preempt.h:6, + from ../include/linux/preempt.h:79, + from ../include/linux/bottom_half.h:6, + from ../net/ipv6/tcp_ipv6.c:22: +../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" + 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) + | ^~~~~~~~~~~~~~ +../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ + 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) + | ^~~~~~~~~~~~~~~ +../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ + 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); + | ^~~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:207: net/ipv6/tcp_ipv6.o] Error 1 +In file included from ../include/linux/atomic/atomic-instrumented.h:15, + from ../include/linux/atomic.h:82, + from ../include/crypto/hash.h:11, + from ../net/ipv4/tcp.c:246: +../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" + 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) + | ^~~~~~~~~~~~~~ +../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ + 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) + | ^~~~~~~~~~~~~~~ +../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ + 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); + | ^~~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:207: net/ipv4/tcp.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../include/linux/init.h:5, + from ../include/linux/printk.h:6, + from ../include/asm-generic/bug.h:22, + from ../arch/x86/include/asm/bug.h:99, + from ../include/linux/bug.h:5, + from ../include/linux/mmdebug.h:5, + from ../include/linux/mm.h:6, + from ../net/ipv4/tcp_input.c:67: +../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" + 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) + | ^~~~~~~~~~~~~~ +../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ + 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) + | ^~~~~~~~~~~~~~~ +../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ + 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); + | ^~~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:207: net/ipv4/tcp_input.o] Error 1 +make[4]: *** [../scripts/Makefile.build:465: net/ipv4] Error 2 @@ -23,2 +196,53 @@ -../drivers/nvme/host/tcp.c:1578: warning: Function parameter or struct member 'queue' not described in 'nvme_tcp_set_queue_io_cpu' -../drivers/nvme/host/tcp.c:1578: warning: expecting prototype for Track the number of queues assigned to each cpu using a global per(). Prototype was for nvme_tcp_set_queue_io_cpu() instead +make[4]: *** [../scripts/Makefile.build:465: net/ipv6] Error 2 +In file included from ../include/linux/container_of.h:5, + from ../include/linux/list.h:5, + from ../include/linux/module.h:12, + from ../drivers/nvme/host/tcp.c:7: +../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" + 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) + | ^~~~~~~~~~~~~~ +../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ + 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) + | ^~~~~~~~~~~~~~~ +../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ + 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); + | ^~~~~~~~~~~~~ +make[6]: *** [../scripts/Makefile.build:207: drivers/nvme/host/tcp.o] Error 1 +make[5]: *** [../scripts/Makefile.build:465: drivers/nvme/host] Error 2 +make[4]: *** [../scripts/Makefile.build:465: drivers/nvme] Error 2 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../include/linux/bits.h:22, + from ../include/linux/bitops.h:6, + from ../include/linux/bitmap.h:8, + from ../include/linux/ethtool.h:16, + from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:6: +../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" + 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) + | ^~~~~~~~~~~~~~ +../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ + 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) + | ^~~~~~~~~~~~~~~ +../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ + 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); + | ^~~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/amazon/ena/ena_ethtool.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../include/linux/bits.h:22, + from ../include/linux/bitops.h:6, + from ../include/linux/cpumask_types.h:5, + from ../include/linux/cpu_rmap.h:10, + from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:9: +../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" + 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) + | ^~~~~~~~~~~~~~ +../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ + 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) + | ^~~~~~~~~~~~~~~ +../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ + 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); + | ^~~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/amazon/ena/ena_netdev.o] Error 1 +make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/amazon/ena] Error 2 +make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/amazon] Error 2 +make[5]: *** [../scripts/Makefile.build:465: drivers/net/ethernet] Error 2 +make[5]: *** Waiting for unfinished jobs.... @@ -32,47 +256 @@ -In file included from ../include/linux/kernel.h:31, - from ../include/linux/bcm47xx_nvram.h:10, - from ../drivers/firmware/broadcom/bcm47xx_sprom.c:29: -../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_u32.constprop’: -../include/linux/kern_levels.h:5:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] - 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ - | ^~~~~~ -../include/linux/printk.h:473:25: note: in definition of macro ‘printk_index_wrap’ - 473 | _p_func(_fmt, ##__VA_ARGS__); \ - | ^~~~ -../include/linux/printk.h:554:9: note: in expansion of macro ‘printk’ - 554 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) - | ^~~~~~ -../include/linux/kern_levels.h:12:25: note: in expansion of macro ‘KERN_SOH’ - 12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */ - | ^~~~~~~~ -../include/linux/printk.h:554:16: note: in expansion of macro ‘KERN_WARNING’ - 554 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) - | ^~~~~~~~~~~~ -../drivers/firmware/broadcom/bcm47xx_sprom.c:80:17: note: in expansion of macro ‘pr_warn’ - 80 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ - | ^~~~~~~ -../drivers/firmware/broadcom/bcm47xx_sprom.c:92:1: note: in expansion of macro ‘NVRAM_READ_VAL’ - 92 | NVRAM_READ_VAL(u32) - | ^~~~~~~~~~~~~~ -../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_s8.constprop’: -../include/linux/kern_levels.h:5:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] - 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ - | ^~~~~~ -../include/linux/printk.h:473:25: note: in definition of macro ‘printk_index_wrap’ - 473 | _p_func(_fmt, ##__VA_ARGS__); \ - | ^~~~ -../include/linux/printk.h:554:9: note: in expansion of macro ‘printk’ - 554 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) - | ^~~~~~ -../include/linux/kern_levels.h:12:25: note: in expansion of macro ‘KERN_SOH’ - 12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */ - | ^~~~~~~~ -../include/linux/printk.h:554:16: note: in expansion of macro ‘KERN_WARNING’ - 554 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) - | ^~~~~~~~~~~~ -../drivers/firmware/broadcom/bcm47xx_sprom.c:80:17: note: in expansion of macro ‘pr_warn’ - 80 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ - | ^~~~~~~ -../drivers/firmware/broadcom/bcm47xx_sprom.c:90:1: note: in expansion of macro ‘NVRAM_READ_VAL’ - 90 | NVRAM_READ_VAL(s8) - | ^~~~~~~~~~~~~~ +../drivers/scsi/qla2xxx/qla_isr.c:3891: warning: Function parameter or struct member 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' @@ -96,31 +274,34 @@ -In file included from ../include/linux/string.h:392, - from ../include/linux/bitmap.h:13, - from ../include/linux/cpumask.h:12, - from ../include/linux/smp.h:13, - from ../include/linux/lockdep.h:14, - from ../include/linux/rcupdate.h:29, - from ../include/linux/rculist.h:11, - from ../include/linux/sched/signal.h:5, - from ../drivers/staging/rtl8723bs/include/drv_types.h:17, - from ../drivers/staging/rtl8723bs/core/rtw_security.c:8: -In function ‘fortify_memcpy_chk’, - inlined from ‘rtw_BIP_verify’ at ../drivers/staging/rtl8723bs/core/rtw_security.c:1424:3: -../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] - 580 | __read_overflow2_field(q_size_field, size); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../include/linux/string.h:392, - from ../include/linux/bitmap.h:13, - from ../include/linux/cpumask.h:12, - from ../include/linux/smp.h:13, - from ../include/linux/lockdep.h:14, - from ../include/linux/rcupdate.h:29, - from ../include/linux/rculist.h:11, - from ../include/linux/sched/signal.h:5, - from ../drivers/staging/rtl8723bs/include/drv_types.h:17, - from ../drivers/staging/rtl8723bs/core/rtw_xmit.c:7: -In function ‘fortify_memcpy_chk’, - inlined from ‘rtw_mgmt_xmitframe_coalesce’ at ../drivers/staging/rtl8723bs/core/rtw_xmit.c:1209:3: -../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] - 580 | __read_overflow2_field(q_size_field, size); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/scsi/qla2xxx/qla_isr.c:3891: warning: Function parameter or struct member 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' +In file included from ../include/linux/atomic/atomic-instrumented.h:15, + from ../include/linux/atomic.h:82, + from ../include/linux/filter.h:8, + from ../kernel/bpf/core.c:21: +../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" + 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) + | ^~~~~~~~~~~~~~ +../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ + 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) + | ^~~~~~~~~~~~~~~ +../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ + 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); + | ^~~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:207: kernel/bpf/core.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../include/linux/container_of.h:5, + from ../include/linux/list.h:5, + from ../include/linux/timer.h:5, + from ../include/linux/workqueue.h:9, + from ../include/linux/bpf.h:10, + from ../kernel/bpf/syscall.c:4: +../include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct xdp_frame) == _XDP_FRAME_SIZE" + 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) + | ^~~~~~~~~~~~~~ +../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ + 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) + | ^~~~~~~~~~~~~~~ +../include/net/xdp.h:283:1: note: in expansion of macro ‘static_assert’ + 283 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE); + | ^~~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:207: kernel/bpf/syscall.o] Error 1 +make[4]: *** [../scripts/Makefile.build:465: kernel/bpf] Error 2 +make[4]: *** Waiting for unfinished jobs.... +make[3]: *** [../scripts/Makefile.build:465: kernel] Error 2 @@ -141,36 +322,6 @@ -../scripts/Makefile.build:207: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch -../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'ack' not described in 'tcp_lp_cong_avoid' -../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'acked' not described in 'tcp_lp_cong_avoid' -../net/ipv4/tcp_lp.c:272: warning: Function parameter or struct member 'sample' not described in 'tcp_lp_pkts_acked' -../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' -In file included from ../include/linux/string.h:392, - from ../arch/x86/include/asm/page_32.h:18, - from ../arch/x86/include/asm/page.h:14, - from ../arch/x86/include/asm/processor.h:20, - from ../arch/x86/include/asm/timex.h:5, - from ../include/linux/timex.h:67, - from ../include/linux/time32.h:13, - from ../include/linux/time.h:60, - from ../include/linux/stat.h:19, - from ../include/linux/module.h:13, - from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10, - from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: -In function ‘fortify_memcpy_chk’, - inlined from ‘qlcnic_83xx_dcb_query_cee_param’ at ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:614:3: -../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] - 580 | __read_overflow2_field(q_size_field, size); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new -../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new -../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new -../drivers/most/most_usb.c:69: warning: Function parameter or struct member 'dev' not described in 'most_dci_obj' -../drivers/most/most_usb.c:69: warning: Excess struct member 'kobj' description in 'most_dci_obj' -../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'dev' not described in 'most_dev' -../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'clear_work' not described in 'most_dev' -../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'on_netinfo' not described in 'most_dev' -../drivers/most/most_usb.c:650: warning: Function parameter or struct member 'on_netinfo' not described in 'hdm_request_netinfo' -../drivers/net/usb/lan78xx.c: In function ‘lan7801_phy_init’: -../drivers/net/usb/lan78xx.c:2514:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] - 2514 | int ret; - | ^~~ -../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' +make[4]: *** [../scripts/Makefile.build:465: drivers/net] Error 2 +make[3]: *** [../scripts/Makefile.build:465: drivers] Error 2 +make[3]: *** [../scripts/Makefile.build:465: net] Error 2 +make[2]: *** [/home/nipa/bpf-next/wt-0/Makefile:1989: .] Error 2 +make[1]: *** [/home/nipa/bpf-next/wt-0/Makefile:251: __sub-make] Error 2 +make: *** [Makefile:251: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.1PsqRzaGo1 2025-03-05 06:50:49.995291975 -0800 +++ /tmp/tmp.W4tvKx8JQc 2025-03-05 06:50:49.998291946 -0800 @@ -2,6 +1,0 @@ - 2 ../drivers/firmware/broadcom/bcm47xx_sprom.c - 6 ../drivers/most/most_usb.c - 1 ../drivers/net/ethernet/sfc/ptp.c - 1 ../drivers/net/ethernet/sfc/siena/ptp.c - 1 ../drivers/net/usb/lan78xx.c - 2 ../drivers/nvme/host/tcp.c @@ -9,3 +3,2 @@ - 6 ../include/linux/fortify-string.h - 2 ../include/linux/kern_levels.h - 2 ../include/linux/printk.h + 15 ../include/linux/build_bug.h + 3 ../include/linux/fortify-string.h @@ -14 +6,0 @@ - 3 ../net/ipv4/tcp_lp.c