../drivers/net/ethernet/amazon/ena/ena_netdev.c: In function ‘ena_init_rx_cpu_rmap’: ../drivers/net/ethernet/amazon/ena/ena_netdev.c:165:16: error: too few arguments to function ‘netif_enable_cpu_rmap’ 165 | return netif_enable_cpu_rmap(adapter->netdev); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/net/inet_sock.h:19, from ../include/net/ip.h:29, from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:16: ../include/linux/netdevice.h:2780:5: note: declared here 2780 | int netif_enable_cpu_rmap(struct net_device *dev, unsigned int num_irqs); | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/amazon/ena/ena_netdev.c:169:1: error: control reaches end of non-void function [-Werror=return-type] 169 | } | ^ cc1: some warnings being treated as errors make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/amazon/ena/ena_netdev.o] Error 1 make[7]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/amazon/ena] Error 2 make[6]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/amazon] Error 2 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [../scripts/Makefile.build:440: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:440: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:440: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1993: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 ../drivers/net/ethernet/amazon/ena/ena_netdev.c: In function ‘ena_init_rx_cpu_rmap’: ../drivers/net/ethernet/amazon/ena/ena_netdev.c:165:16: error: too few arguments to function ‘netif_enable_cpu_rmap’ 165 | return netif_enable_cpu_rmap(adapter->netdev); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/net/inet_sock.h:19, from ../include/net/ip.h:29, from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:16: ../include/linux/netdevice.h:2780:5: note: declared here 2780 | int netif_enable_cpu_rmap(struct net_device *dev, unsigned int num_irqs); | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/amazon/ena/ena_netdev.c:169:1: error: control reaches end of non-void function [-Werror=return-type] 169 | } | ^ cc1: some warnings being treated as errors make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/amazon/ena/ena_netdev.o] Error 1 make[7]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/amazon/ena] Error 2 make[6]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/amazon] Error 2 make[6]: *** Waiting for unfinished jobs.... In file included from ../include/linux/string.h:389, 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' make[5]: *** [../scripts/Makefile.build:440: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:440: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:440: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1993: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 New errors added --- /tmp/tmp.cWJCm1zxsY 2025-01-03 16:59:01.251570745 -0800 +++ /tmp/tmp.3IjFhyyoWb 2025-01-03 16:59:24.654327228 -0800 @@ -18,0 +19,19 @@ +In file included from ../include/linux/string.h:389, + 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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' +../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' Per-file breakdown --- /tmp/tmp.iipbTUqZY9 2025-01-03 16:59:24.662327145 -0800 +++ /tmp/tmp.nLFmUzbep0 2025-01-03 16:59:24.664327124 -0800 @@ -1,0 +2,3 @@ + 1 ../drivers/net/ethernet/sfc/ptp.c + 1 ../drivers/net/ethernet/sfc/siena/ptp.c + 1 ../include/linux/fortify-string.h