========== build_allmodconfig_warn - FAILED Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../kernel/sys.c:1144:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1144:32: expected struct task_struct *p1 ../kernel/sys.c:1144:32: got struct task_struct [noderef] __rcu *real_parent ../drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c: note: in included file (through ../include/scsi/libfc.h): ../include/uapi/scsi/fc/fc_els.h:1152:37: warning: array of flexible structures ../include/uapi/scsi/fc/fc_els.h:1170:37: warning: array of flexible structures ../drivers/target/tcm_fc/tfc_conf.c: note: in included file (through ../include/scsi/libfc.h): ../include/uapi/scsi/fc/fc_els.h:1152:37: warning: array of flexible structures ../include/uapi/scsi/fc/fc_els.h:1170:37: warning: array of flexible structures ../drivers/net/ethernet/zte/dinghai/en_pf.c: In function ‘dh_pf_pci_init’: ../drivers/net/ethernet/zte/dinghai/en_pf.c:80:15: error: ‘struct zxdh_pf_device’ has no member named ‘pci_ioremap_addr’ 80 | pf_dev->pci_ioremap_addr[0] = | ^~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:83:20: error: ‘struct zxdh_pf_device’ has no member named ‘pci_ioremap_addr’ 83 | if (!pf_dev->pci_ioremap_addr[0]) { | ^~ ../drivers/net/ethernet/zte/dinghai/en_pf.c: At top level: ../drivers/net/ethernet/zte/dinghai/en_pf.c:100:6: warning: no previous prototype for ‘dh_pf_pci_close’ [-Wmissing-prototypes] 100 | void dh_pf_pci_close(struct dh_core_dev *dev) | ^~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c: In function ‘dh_pf_pci_close’: ../drivers/net/ethernet/zte/dinghai/en_pf.c:105:31: error: ‘struct zxdh_pf_device’ has no member named ‘pci_ioremap_addr’ 105 | iounmap((void *)pf_dev->pci_ioremap_addr[0]); | ^~ ../drivers/net/ethernet/zte/dinghai/en_pf.c: At top level: ../drivers/net/ethernet/zte/dinghai/en_pf.c:18:19: warning: ‘zxdh_pf_copyright’ defined but not used [-Wunused-const-variable=] 18 | static const char zxdh_pf_copyright[] = "Copyright (c) 2022-2024, ZTE Corporation."; | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:17:19: warning: ‘zxdh_pf_driver_string’ defined but not used [-Wunused-const-variable=] 17 | static const char zxdh_pf_driver_string[] = DRV_SUMMARY; | ^~~~~~~~~~~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:289: drivers/net/ethernet/zte/dinghai/en_pf.o] Error 1 make[7]: *** [../scripts/Makefile.build:548: drivers/net/ethernet/zte/dinghai] Error 2 make[6]: *** [../scripts/Makefile.build:548: drivers/net/ethernet/zte] Error 2 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [../scripts/Makefile.build:548: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:548: 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:500:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" make[3]: *** [../scripts/Makefile.build:548: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/srv/nipa-poller/net-next/wt-0/Makefile:2105: .] Error 2 make[1]: *** [/srv/nipa-poller/net-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../kernel/sys.c:1144:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1144:32: expected struct task_struct *p1 ../kernel/sys.c:1144:32: got struct task_struct [noderef] __rcu *real_parent ../drivers/target/tcm_fc/tfc_conf.c: note: in included file (through ../include/scsi/libfc.h): ../include/uapi/scsi/fc/fc_els.h:1152:37: warning: array of flexible structures ../include/uapi/scsi/fc/fc_els.h:1170:37: warning: array of flexible structures ../drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c: note: in included file (through ../include/scsi/libfc.h): ../include/uapi/scsi/fc/fc_els.h:1152:37: warning: array of flexible structures ../include/uapi/scsi/fc/fc_els.h:1170:37: warning: array of flexible structures ../drivers/net/ethernet/zte/dinghai/en_pf.c:100:6: warning: no previous prototype for ‘dh_pf_pci_close’ [-Wmissing-prototypes] 100 | void dh_pf_pci_close(struct dh_core_dev *dev) | ^~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:110:9: warning: no previous prototype for ‘zxdh_pf_pci_find_capability’ [-Wmissing-prototypes] 110 | int32_t zxdh_pf_pci_find_capability(struct pci_dev *pdev, uint8_t cfg_type, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:138:15: warning: no previous prototype for ‘zxdh_pf_map_capability’ [-Wmissing-prototypes] 138 | void __iomem *zxdh_pf_map_capability(struct dh_core_dev *dh_dev, int32_t off, | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:201:9: warning: no previous prototype for ‘zxdh_pf_common_cfg_init’ [-Wmissing-prototypes] 201 | int32_t zxdh_pf_common_cfg_init(struct dh_core_dev *dh_dev) | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:229:9: warning: no previous prototype for ‘zxdh_pf_notify_cfg_init’ [-Wmissing-prototypes] 229 | int32_t zxdh_pf_notify_cfg_init(struct dh_core_dev *dh_dev) | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:274:9: warning: no previous prototype for ‘zxdh_pf_device_cfg_init’ [-Wmissing-prototypes] 274 | int32_t zxdh_pf_device_cfg_init(struct dh_core_dev *dh_dev) | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:299:6: warning: no previous prototype for ‘zxdh_pf_modern_cfg_uninit’ [-Wmissing-prototypes] 299 | void zxdh_pf_modern_cfg_uninit(struct dh_core_dev *dh_dev) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:311:9: warning: no previous prototype for ‘zxdh_pf_modern_cfg_init’ [-Wmissing-prototypes] 311 | int32_t zxdh_pf_modern_cfg_init(struct dh_core_dev *dh_dev) | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:345:10: warning: no previous prototype for ‘zxdh_pf_get_queue_notify_off’ [-Wmissing-prototypes] 345 | uint16_t zxdh_pf_get_queue_notify_off(struct dh_core_dev *dh_dev, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:358:15: warning: no previous prototype for ‘zxdh_pf_map_vq_notify’ [-Wmissing-prototypes] 358 | void __iomem *zxdh_pf_map_vq_notify(struct dh_core_dev *dh_dev, | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:387:6: warning: no previous prototype for ‘zxdh_pf_unmap_vq_notify’ [-Wmissing-prototypes] 387 | void zxdh_pf_unmap_vq_notify(struct dh_core_dev *dh_dev, void *priv) | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:395:6: warning: no previous prototype for ‘zxdh_pf_set_status’ [-Wmissing-prototypes] 395 | void zxdh_pf_set_status(struct dh_core_dev *dh_dev, uint8_t status) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:402:9: warning: no previous prototype for ‘zxdh_pf_get_status’ [-Wmissing-prototypes] 402 | uint8_t zxdh_pf_get_status(struct dh_core_dev *dh_dev) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:420:6: warning: no previous prototype for ‘zxdh_pf_get_vf_mac’ [-Wmissing-prototypes] 420 | void zxdh_pf_get_vf_mac(struct dh_core_dev *dh_dev, uint8_t *mac, int32_t vf_id) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:443:6: warning: no previous prototype for ‘zxdh_pf_set_vf_mac_reg’ [-Wmissing-prototypes] 443 | void zxdh_pf_set_vf_mac_reg(struct zxdh_pf_device *pf_dev, uint8_t *mac, int32_t vf_id) | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:461:6: warning: no previous prototype for ‘zxdh_pf_set_vf_mac’ [-Wmissing-prototypes] 461 | void zxdh_pf_set_vf_mac(struct dh_core_dev *dh_dev, uint8_t *mac, int32_t vf_id) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:468:6: warning: no previous prototype for ‘zxdh_set_mac’ [-Wmissing-prototypes] 468 | void zxdh_set_mac(struct dh_core_dev *dh_dev, uint8_t *mac) | ^~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:481:6: warning: no previous prototype for ‘zxdh_get_mac’ [-Wmissing-prototypes] 481 | void zxdh_get_mac(struct dh_core_dev *dh_dev, uint8_t *mac) | ^~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:498:10: warning: no previous prototype for ‘zxdh_pf_get_features’ [-Wmissing-prototypes] 498 | uint64_t zxdh_pf_get_features(struct dh_core_dev *dh_dev) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:511:6: warning: no previous prototype for ‘zxdh_pf_set_features’ [-Wmissing-prototypes] 511 | void zxdh_pf_set_features(struct dh_core_dev *dh_dev, uint64_t features) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:409:16: warning: ‘zxdh_pf_get_cfg_gen’ defined but not used [-Wunused-function] 409 | static uint8_t zxdh_pf_get_cfg_gen(struct dh_core_dev *dh_dev) | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:18:19: warning: ‘zxdh_pf_copyright’ defined but not used [-Wunused-const-variable=] 18 | static const char zxdh_pf_copyright[] = "Copyright (c) 2022-2024, ZTE Corporation."; | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:17:19: warning: ‘zxdh_pf_driver_string’ defined but not used [-Wunused-const-variable=] 17 | static const char zxdh_pf_driver_string[] = DRV_SUMMARY; | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:16:12: warning: symbol 'zxdh_pf_driver_version' was not declared. Should it be static? ../drivers/net/ethernet/zte/dinghai/en_pf.c:25:5: warning: symbol 'dh_debug_mask' was not declared. Should it be static? ../drivers/net/ethernet/zte/dinghai/en_pf.c:34:28: warning: symbol 'dh_pf_pci_table' was not declared. Should it be static? ../drivers/net/ethernet/zte/dinghai/en_pf.c:81:18: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/zte/dinghai/en_pf.c:105:18: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/zte/dinghai/en_pf.c:105:18: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/zte/dinghai/en_pf.c:105:18: got void * ../drivers/net/ethernet/zte/dinghai/en_pf.c:100:6: warning: symbol 'dh_pf_pci_close' was not declared. Should it be static? ../drivers/net/ethernet/zte/dinghai/en_pf.c:110:9: warning: symbol 'zxdh_pf_pci_find_capability' was not declared. Should it be static? ../drivers/net/ethernet/zte/dinghai/en_pf.c:138:14: warning: symbol 'zxdh_pf_map_capability' was not declared. Should it be static? ../drivers/net/ethernet/zte/dinghai/en_pf.c:201:9: warning: symbol 'zxdh_pf_common_cfg_init' was not declared. Should it be static? ../drivers/net/ethernet/zte/dinghai/en_pf.c:229:9: warning: symbol 'zxdh_pf_notify_cfg_init' was not declared. Should it be static? ../drivers/net/ethernet/zte/dinghai/en_pf.c:274:9: warning: symbol 'zxdh_pf_device_cfg_init' was not declared. Should it be static? ../drivers/net/ethernet/zte/dinghai/en_pf.c:299:6: warning: symbol 'zxdh_pf_modern_cfg_uninit' was not declared. Should it be static? ../drivers/net/ethernet/zte/dinghai/en_pf.c:311:9: warning: symbol 'zxdh_pf_modern_cfg_init' was not declared. Should it be static? ../drivers/net/ethernet/zte/dinghai/en_pf.c:345:10: warning: symbol 'zxdh_pf_get_queue_notify_off' was not declared. Should it be static? ../drivers/net/ethernet/zte/dinghai/en_pf.c:358:14: warning: symbol 'zxdh_pf_map_vq_notify' was not declared. Should it be static? ../drivers/net/ethernet/zte/dinghai/en_pf.c:392:43: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/zte/dinghai/en_pf.c:392:43: expected void [noderef] __iomem * ../drivers/net/ethernet/zte/dinghai/en_pf.c:392:43: got void *priv ../drivers/net/ethernet/zte/dinghai/en_pf.c:387:6: warning: symbol 'zxdh_pf_unmap_vq_notify' was not declared. Should it be static? ../drivers/net/ethernet/zte/dinghai/en_pf.c:395:6: warning: symbol 'zxdh_pf_set_status' was not declared. Should it be static? ../drivers/net/ethernet/zte/dinghai/en_pf.c:402:9: warning: symbol 'zxdh_pf_get_status' was not declared. Should it be static? ../drivers/net/ethernet/zte/dinghai/en_pf.c:420:6: warning: symbol 'zxdh_pf_get_vf_mac' was not declared. Should it be static? ../drivers/net/ethernet/zte/dinghai/en_pf.c:443:6: warning: symbol 'zxdh_pf_set_vf_mac_reg' was not declared. Should it be static? ../drivers/net/ethernet/zte/dinghai/en_pf.c:461:6: warning: symbol 'zxdh_pf_set_vf_mac' was not declared. Should it be static? ../drivers/net/ethernet/zte/dinghai/en_pf.c:477:48: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/zte/dinghai/en_pf.c:468:6: warning: symbol 'zxdh_set_mac' was not declared. Should it be static? ../drivers/net/ethernet/zte/dinghai/en_pf.c:492:48: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/zte/dinghai/en_pf.c:481:6: warning: symbol 'zxdh_get_mac' was not declared. Should it be static? ../drivers/net/ethernet/zte/dinghai/en_pf.c:498:10: warning: symbol 'zxdh_pf_get_features' was not declared. Should it be static? ../drivers/net/ethernet/zte/dinghai/en_pf.c:511:6: warning: symbol 'zxdh_pf_set_features' was not declared. Should it be static? ../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:500:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" WARNING: modpost: vmlinux: section mismatch in reference: lookup_object_or_alloc+0x462 (section: .text) -> is_static_object (section: .init.text) ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? New errors added --- /tmp/tmp.JDQkIrEpBz 2026-04-14 22:33:08.667426973 -0400 +++ /tmp/tmp.mBfQIfxQGH 2026-04-14 22:34:38.337604474 -0400 @@ -5 +5 @@ -../drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c: note: in included file (through ../include/scsi/libfc.h): +../drivers/target/tcm_fc/tfc_conf.c: note: in included file (through ../include/scsi/libfc.h): @@ -8 +8 @@ -../drivers/target/tcm_fc/tfc_conf.c: note: in included file (through ../include/scsi/libfc.h): +../drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c: note: in included file (through ../include/scsi/libfc.h): @@ -11,8 +10,0 @@ -../drivers/net/ethernet/zte/dinghai/en_pf.c: In function ‘dh_pf_pci_init’: -../drivers/net/ethernet/zte/dinghai/en_pf.c:80:15: error: ‘struct zxdh_pf_device’ has no member named ‘pci_ioremap_addr’ - 80 | pf_dev->pci_ioremap_addr[0] = - | ^~ -../drivers/net/ethernet/zte/dinghai/en_pf.c:83:20: error: ‘struct zxdh_pf_device’ has no member named ‘pci_ioremap_addr’ - 83 | if (!pf_dev->pci_ioremap_addr[0]) { - | ^~ -../drivers/net/ethernet/zte/dinghai/en_pf.c: At top level: @@ -22,5 +14,60 @@ -../drivers/net/ethernet/zte/dinghai/en_pf.c: In function ‘dh_pf_pci_close’: -../drivers/net/ethernet/zte/dinghai/en_pf.c:105:31: error: ‘struct zxdh_pf_device’ has no member named ‘pci_ioremap_addr’ - 105 | iounmap((void *)pf_dev->pci_ioremap_addr[0]); - | ^~ -../drivers/net/ethernet/zte/dinghai/en_pf.c: At top level: +../drivers/net/ethernet/zte/dinghai/en_pf.c:110:9: warning: no previous prototype for ‘zxdh_pf_pci_find_capability’ [-Wmissing-prototypes] + 110 | int32_t zxdh_pf_pci_find_capability(struct pci_dev *pdev, uint8_t cfg_type, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:138:15: warning: no previous prototype for ‘zxdh_pf_map_capability’ [-Wmissing-prototypes] + 138 | void __iomem *zxdh_pf_map_capability(struct dh_core_dev *dh_dev, int32_t off, + | ^~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:201:9: warning: no previous prototype for ‘zxdh_pf_common_cfg_init’ [-Wmissing-prototypes] + 201 | int32_t zxdh_pf_common_cfg_init(struct dh_core_dev *dh_dev) + | ^~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:229:9: warning: no previous prototype for ‘zxdh_pf_notify_cfg_init’ [-Wmissing-prototypes] + 229 | int32_t zxdh_pf_notify_cfg_init(struct dh_core_dev *dh_dev) + | ^~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:274:9: warning: no previous prototype for ‘zxdh_pf_device_cfg_init’ [-Wmissing-prototypes] + 274 | int32_t zxdh_pf_device_cfg_init(struct dh_core_dev *dh_dev) + | ^~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:299:6: warning: no previous prototype for ‘zxdh_pf_modern_cfg_uninit’ [-Wmissing-prototypes] + 299 | void zxdh_pf_modern_cfg_uninit(struct dh_core_dev *dh_dev) + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:311:9: warning: no previous prototype for ‘zxdh_pf_modern_cfg_init’ [-Wmissing-prototypes] + 311 | int32_t zxdh_pf_modern_cfg_init(struct dh_core_dev *dh_dev) + | ^~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:345:10: warning: no previous prototype for ‘zxdh_pf_get_queue_notify_off’ [-Wmissing-prototypes] + 345 | uint16_t zxdh_pf_get_queue_notify_off(struct dh_core_dev *dh_dev, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:358:15: warning: no previous prototype for ‘zxdh_pf_map_vq_notify’ [-Wmissing-prototypes] + 358 | void __iomem *zxdh_pf_map_vq_notify(struct dh_core_dev *dh_dev, + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:387:6: warning: no previous prototype for ‘zxdh_pf_unmap_vq_notify’ [-Wmissing-prototypes] + 387 | void zxdh_pf_unmap_vq_notify(struct dh_core_dev *dh_dev, void *priv) + | ^~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:395:6: warning: no previous prototype for ‘zxdh_pf_set_status’ [-Wmissing-prototypes] + 395 | void zxdh_pf_set_status(struct dh_core_dev *dh_dev, uint8_t status) + | ^~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:402:9: warning: no previous prototype for ‘zxdh_pf_get_status’ [-Wmissing-prototypes] + 402 | uint8_t zxdh_pf_get_status(struct dh_core_dev *dh_dev) + | ^~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:420:6: warning: no previous prototype for ‘zxdh_pf_get_vf_mac’ [-Wmissing-prototypes] + 420 | void zxdh_pf_get_vf_mac(struct dh_core_dev *dh_dev, uint8_t *mac, int32_t vf_id) + | ^~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:443:6: warning: no previous prototype for ‘zxdh_pf_set_vf_mac_reg’ [-Wmissing-prototypes] + 443 | void zxdh_pf_set_vf_mac_reg(struct zxdh_pf_device *pf_dev, uint8_t *mac, int32_t vf_id) + | ^~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:461:6: warning: no previous prototype for ‘zxdh_pf_set_vf_mac’ [-Wmissing-prototypes] + 461 | void zxdh_pf_set_vf_mac(struct dh_core_dev *dh_dev, uint8_t *mac, int32_t vf_id) + | ^~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:468:6: warning: no previous prototype for ‘zxdh_set_mac’ [-Wmissing-prototypes] + 468 | void zxdh_set_mac(struct dh_core_dev *dh_dev, uint8_t *mac) + | ^~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:481:6: warning: no previous prototype for ‘zxdh_get_mac’ [-Wmissing-prototypes] + 481 | void zxdh_get_mac(struct dh_core_dev *dh_dev, uint8_t *mac) + | ^~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:498:10: warning: no previous prototype for ‘zxdh_pf_get_features’ [-Wmissing-prototypes] + 498 | uint64_t zxdh_pf_get_features(struct dh_core_dev *dh_dev) + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:511:6: warning: no previous prototype for ‘zxdh_pf_set_features’ [-Wmissing-prototypes] + 511 | void zxdh_pf_set_features(struct dh_core_dev *dh_dev, uint64_t features) + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:409:16: warning: ‘zxdh_pf_get_cfg_gen’ defined but not used [-Wunused-function] + 409 | static uint8_t zxdh_pf_get_cfg_gen(struct dh_core_dev *dh_dev) + | ^~~~~~~~~~~~~~~~~~~ @@ -33,7 +80,32 @@ -make[8]: *** [../scripts/Makefile.build:289: drivers/net/ethernet/zte/dinghai/en_pf.o] Error 1 -make[7]: *** [../scripts/Makefile.build:548: drivers/net/ethernet/zte/dinghai] Error 2 -make[6]: *** [../scripts/Makefile.build:548: drivers/net/ethernet/zte] Error 2 -make[6]: *** Waiting for unfinished jobs.... -make[5]: *** [../scripts/Makefile.build:548: drivers/net/ethernet] Error 2 -make[4]: *** [../scripts/Makefile.build:548: drivers/net] Error 2 -make[4]: *** Waiting for unfinished jobs.... +../drivers/net/ethernet/zte/dinghai/en_pf.c:16:12: warning: symbol 'zxdh_pf_driver_version' was not declared. Should it be static? +../drivers/net/ethernet/zte/dinghai/en_pf.c:25:5: warning: symbol 'dh_debug_mask' was not declared. Should it be static? +../drivers/net/ethernet/zte/dinghai/en_pf.c:34:28: warning: symbol 'dh_pf_pci_table' was not declared. Should it be static? +../drivers/net/ethernet/zte/dinghai/en_pf.c:81:18: warning: cast removes address space '__iomem' of expression +../drivers/net/ethernet/zte/dinghai/en_pf.c:105:18: warning: incorrect type in argument 1 (different address spaces) +../drivers/net/ethernet/zte/dinghai/en_pf.c:105:18: expected void volatile [noderef] __iomem *addr +../drivers/net/ethernet/zte/dinghai/en_pf.c:105:18: got void * +../drivers/net/ethernet/zte/dinghai/en_pf.c:100:6: warning: symbol 'dh_pf_pci_close' was not declared. Should it be static? +../drivers/net/ethernet/zte/dinghai/en_pf.c:110:9: warning: symbol 'zxdh_pf_pci_find_capability' was not declared. Should it be static? +../drivers/net/ethernet/zte/dinghai/en_pf.c:138:14: warning: symbol 'zxdh_pf_map_capability' was not declared. Should it be static? +../drivers/net/ethernet/zte/dinghai/en_pf.c:201:9: warning: symbol 'zxdh_pf_common_cfg_init' was not declared. Should it be static? +../drivers/net/ethernet/zte/dinghai/en_pf.c:229:9: warning: symbol 'zxdh_pf_notify_cfg_init' was not declared. Should it be static? +../drivers/net/ethernet/zte/dinghai/en_pf.c:274:9: warning: symbol 'zxdh_pf_device_cfg_init' was not declared. Should it be static? +../drivers/net/ethernet/zte/dinghai/en_pf.c:299:6: warning: symbol 'zxdh_pf_modern_cfg_uninit' was not declared. Should it be static? +../drivers/net/ethernet/zte/dinghai/en_pf.c:311:9: warning: symbol 'zxdh_pf_modern_cfg_init' was not declared. Should it be static? +../drivers/net/ethernet/zte/dinghai/en_pf.c:345:10: warning: symbol 'zxdh_pf_get_queue_notify_off' was not declared. Should it be static? +../drivers/net/ethernet/zte/dinghai/en_pf.c:358:14: warning: symbol 'zxdh_pf_map_vq_notify' was not declared. Should it be static? +../drivers/net/ethernet/zte/dinghai/en_pf.c:392:43: warning: incorrect type in argument 2 (different address spaces) +../drivers/net/ethernet/zte/dinghai/en_pf.c:392:43: expected void [noderef] __iomem * +../drivers/net/ethernet/zte/dinghai/en_pf.c:392:43: got void *priv +../drivers/net/ethernet/zte/dinghai/en_pf.c:387:6: warning: symbol 'zxdh_pf_unmap_vq_notify' was not declared. Should it be static? +../drivers/net/ethernet/zte/dinghai/en_pf.c:395:6: warning: symbol 'zxdh_pf_set_status' was not declared. Should it be static? +../drivers/net/ethernet/zte/dinghai/en_pf.c:402:9: warning: symbol 'zxdh_pf_get_status' was not declared. Should it be static? +../drivers/net/ethernet/zte/dinghai/en_pf.c:420:6: warning: symbol 'zxdh_pf_get_vf_mac' was not declared. Should it be static? +../drivers/net/ethernet/zte/dinghai/en_pf.c:443:6: warning: symbol 'zxdh_pf_set_vf_mac_reg' was not declared. Should it be static? +../drivers/net/ethernet/zte/dinghai/en_pf.c:461:6: warning: symbol 'zxdh_pf_set_vf_mac' was not declared. Should it be static? +../drivers/net/ethernet/zte/dinghai/en_pf.c:477:48: warning: cast removes address space '__iomem' of expression +../drivers/net/ethernet/zte/dinghai/en_pf.c:468:6: warning: symbol 'zxdh_set_mac' was not declared. Should it be static? +../drivers/net/ethernet/zte/dinghai/en_pf.c:492:48: warning: cast removes address space '__iomem' of expression +../drivers/net/ethernet/zte/dinghai/en_pf.c:481:6: warning: symbol 'zxdh_get_mac' was not declared. Should it be static? +../drivers/net/ethernet/zte/dinghai/en_pf.c:498:10: warning: symbol 'zxdh_pf_get_features' was not declared. Should it be static? +../drivers/net/ethernet/zte/dinghai/en_pf.c:511:6: warning: symbol 'zxdh_pf_set_features' was not declared. Should it be static? @@ -42,5 +114 @@ -make[3]: *** [../scripts/Makefile.build:548: drivers] Error 2 -make[3]: *** Waiting for unfinished jobs.... -make[2]: *** [/srv/nipa-poller/net-next/wt-0/Makefile:2105: .] Error 2 -make[1]: *** [/srv/nipa-poller/net-next/wt-0/Makefile:248: __sub-make] Error 2 -make: *** [Makefile:248: __sub-make] Error 2 +WARNING: modpost: vmlinux: section mismatch in reference: lookup_object_or_alloc+0x462 (section: .text) -> is_static_object (section: .init.text) Per-file breakdown --- /tmp/tmp.0qetwwwP7n 2026-04-14 22:34:38.342221958 -0400 +++ /tmp/tmp.KD3mUEDnvM 2026-04-14 22:34:38.343365347 -0400 @@ -2 +2 @@ - 6 ../drivers/net/ethernet/zte/dinghai/en_pf.c + 51 ../drivers/net/ethernet/zte/dinghai/en_pf.c