../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c: In function ‘recv_one_pkt’: ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:354:17: error: implicit declaration of function ‘napi_gro_flush’; did you mean ‘napi_gro_frags’? [-Wimplicit-function-declaration] 354 | napi_gro_flush(&rxq->irq_cfg->napi, false); | ^~~~~~~~~~~~~~ | napi_gro_frags make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/huawei/hinic3/hinic3_rx.o] Error 1 make[8]: *** Waiting for unfinished jobs.... ../drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:52:6: warning: symbol 'hinic3_irq_01' was not declared. Should it be static? ../drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:53:6: warning: symbol 'hinic3_irq_02' was not declared. Should it be static? make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/huawei/hinic3] Error 2 make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/huawei] Error 2 make[5]: *** [../scripts/Makefile.build:465: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:465: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:465: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1989: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 ../kernel/sys.c:1113:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1113:32: expected struct task_struct *p1 ../kernel/sys.c:1113:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1860:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../drivers/base/firmware_loader/main.c: note: in included file (through ../include/linux/sched/signal.h, ../include/linux/rcuwait.h, ../include/linux/percpu-rwsem.h, ../include/linux/fs.h, ../include/linux/compat.h, ...): ../include/linux/cred.h:175:41: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:175:41: expected struct cred const *old ../include/linux/cred.h:175:41: got struct cred const [noderef] __rcu *cred ../include/linux/cred.h:183:51: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:183:51: expected struct cred const *override_cred ../include/linux/cred.h:183:51: got struct cred const [noderef] __rcu *cred ../drivers/target/target_core_configfs.c: note: in included file (through ../include/linux/sched/signal.h, ../include/linux/rcuwait.h, ../include/linux/percpu-rwsem.h, ../include/linux/fs.h, ../include/linux/compat.h, ...): ../include/linux/cred.h:175:41: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:175:41: expected struct cred const *old ../include/linux/cred.h:175:41: got struct cred const [noderef] __rcu *cred ../include/linux/cred.h:183:51: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:183:51: expected struct cred const *override_cred ../include/linux/cred.h:183:51: got struct cred const [noderef] __rcu *cred ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:414:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../kernel/sys.c:1113:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1113:32: expected struct task_struct *p1 ../kernel/sys.c:1113:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1860:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../drivers/base/firmware_loader/main.c: note: in included file (through ../include/linux/sched/signal.h, ../include/linux/rcuwait.h, ../include/linux/percpu-rwsem.h, ../include/linux/fs.h, ../include/linux/compat.h, ...): ../include/linux/cred.h:175:41: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:175:41: expected struct cred const *old ../include/linux/cred.h:175:41: got struct cred const [noderef] __rcu *cred ../include/linux/cred.h:183:51: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:183:51: expected struct cred const *override_cred ../include/linux/cred.h:183:51: got struct cred const [noderef] __rcu *cred ../drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:52:6: warning: symbol 'hinic3_irq_01' was not declared. Should it be static? ../drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:53:6: warning: symbol 'hinic3_irq_02' was not declared. Should it be static? ../drivers/target/target_core_configfs.c: note: in included file (through ../include/linux/sched/signal.h, ../include/linux/rcuwait.h, ../include/linux/percpu-rwsem.h, ../include/linux/fs.h, ../include/linux/compat.h, ...): ../include/linux/cred.h:175:41: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:175:41: expected struct cred const *old ../include/linux/cred.h:175:41: got struct cred const [noderef] __rcu *cred ../include/linux/cred.h:183:51: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:183:51: expected struct cred const *override_cred ../include/linux/cred.h:183:51: got struct cred const [noderef] __rcu *cred ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c: In function ‘recv_one_pkt’: ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:354:17: error: implicit declaration of function ‘napi_gro_flush’; did you mean ‘napi_gro_frags’? [-Wimplicit-function-declaration] 354 | napi_gro_flush(&rxq->irq_cfg->napi, false); | ^~~~~~~~~~~~~~ | napi_gro_frags make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/huawei/hinic3/hinic3_rx.o] Error 1 make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/huawei/hinic3] Error 2 make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/huawei] Error 2 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [../scripts/Makefile.build:465: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:465: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:414:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" make[3]: *** [../scripts/Makefile.build:465: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1989: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 New errors added --- /tmp/tmp.L1APfkpQGy 2025-03-04 07:08:53.304930307 -0800 +++ /tmp/tmp.AH4bSjXMPB 2025-03-04 07:09:16.262684647 -0800 @@ -12,0 +13,2 @@ +../drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:52:6: warning: symbol 'hinic3_irq_01' was not declared. Should it be static? +../drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:53:6: warning: symbol 'hinic3_irq_02' was not declared. Should it be static? @@ -19,0 +22,12 @@ +../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c: In function ‘recv_one_pkt’: +../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:354:17: error: implicit declaration of function ‘napi_gro_flush’; did you mean ‘napi_gro_frags’? [-Wimplicit-function-declaration] + 354 | napi_gro_flush(&rxq->irq_cfg->napi, false); + | ^~~~~~~~~~~~~~ + | napi_gro_frags +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/huawei/hinic3/hinic3_rx.o] Error 1 +make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/huawei/hinic3] Error 2 +make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/huawei] Error 2 +make[6]: *** Waiting for unfinished jobs.... +make[5]: *** [../scripts/Makefile.build:465: drivers/net/ethernet] Error 2 +make[4]: *** [../scripts/Makefile.build:465: drivers/net] Error 2 +make[4]: *** Waiting for unfinished jobs.... @@ -21,0 +36,5 @@ +make[3]: *** [../scripts/Makefile.build:465: drivers] Error 2 +make[3]: *** Waiting for unfinished jobs.... +make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1989: .] Error 2 +make[1]: *** [/home/nipa/net-next/wt-1/Makefile:251: __sub-make] Error 2 +make: *** [Makefile:251: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.M7TLx0UIBa 2025-03-04 07:09:16.270684562 -0800 +++ /tmp/tmp.met73vAAR1 2025-03-04 07:09:16.272684540 -0800 @@ -2,0 +3,2 @@ + 2 ../drivers/net/ethernet/huawei/hinic3/hinic3_irq.c + 1 ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c