
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 8c3c65c303f0b7266ec761ebaf173b86b36ac913 commit: 0bf0c942a09ba92e1d22e6960464b628dd4408fa [2618/2618] net/hinic3: Synchronize new NIC features and bug fixes config: arm64-randconfig-001-20250801 (https://download.01.org/0day-ci/archive/20250801/202508011513.18ofSIpR-lkp@i...) compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 8f09b03aebb71c154f3bbe725c29e3f47d37c26e) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250801/202508011513.18ofSIpR-lkp@i...) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202508011513.18ofSIpR-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:108:6: warning: no previous prototype for function 'hinic3_uld_lock_init' [-Wmissing-prototypes] 108 | void hinic3_uld_lock_init(void) | ^ drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:108:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 108 | void hinic3_uld_lock_init(void) | ^ | static drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:526:5: warning: no previous prototype for function 'hinic3_pdev_is_virtfn' [-Wmissing-prototypes] 526 | u32 hinic3_pdev_is_virtfn(struct pci_dev *pdev) | ^ drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:526:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 526 | u32 hinic3_pdev_is_virtfn(struct pci_dev *pdev) | ^ | static drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:788:5: warning: no previous prototype for function '__set_vroce_func_state' [-Wmissing-prototypes] 788 | int __set_vroce_func_state(struct hinic3_pcidev *pci_adapter) | ^ drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:788:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 788 | int __set_vroce_func_state(struct hinic3_pcidev *pci_adapter) | ^ | static drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:831:6: warning: no previous prototype for function 'slave_host_mgmt_vroce_work' [-Wmissing-prototypes] 831 | void slave_host_mgmt_vroce_work(struct work_struct *work) | ^ drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:831:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 831 | void slave_host_mgmt_vroce_work(struct work_struct *work) | ^ | static drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:841:7: warning: no previous prototype for function 'hinic3_get_roce_uld_by_pdev' [-Wmissing-prototypes] 841 | void *hinic3_get_roce_uld_by_pdev(struct pci_dev *pdev) | ^ drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:841:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 841 | void *hinic3_get_roce_uld_by_pdev(struct pci_dev *pdev) | ^ | static drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:1784:6: warning: no previous prototype for function 'hinic3_set_func_state' [-Wmissing-prototypes] 1784 | void hinic3_set_func_state(struct hinic3_pcidev *pci_adapter) | ^ drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:1784:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 1784 | void hinic3_set_func_state(struct hinic3_pcidev *pci_adapter) | ^ | static drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:1810:6: warning: no previous prototype for function 'slave_host_mgmt_work' [-Wmissing-prototypes] 1810 | void slave_host_mgmt_work(struct work_struct *work) | ^ drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:1810:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 1810 | void slave_host_mgmt_work(struct work_struct *work) | ^ | static
drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:1869:3: error: call to undeclared function '__symbol_put'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1869 | __symbol_put("migration_dev_migration_probe"); | ^ drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:1869:3: note: did you mean '__symbol_get'? include/linux/module.h:301:7: note: '__symbol_get' declared here 301 | void *__symbol_get(const char *symbol); | ^ drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:1928:3: error: call to undeclared function '__symbol_put'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1928 | __symbol_put("migration_dev_add_vf"); | ^ 7 warnings and 2 errors generated.
Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for HALTPOLL_CPUIDLE Depends on [n]: CPU_IDLE [=n] && ARCH_CPUIDLE_HALTPOLL [=y] && ARCH_HAS_OPTIMIZED_POLL [=y] Selected by [y]: - ARM64 [=y] vim +/__symbol_put +1869 drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c 1847 1848 static void slave_host_vfio_probe_delay_work(struct work_struct *work) 1849 { 1850 struct delayed_work *delay = to_delayed_work(work); 1851 struct hinic3_pcidev *pci_adapter = container_of(delay, struct hinic3_pcidev, 1852 migration_probe_dwork); 1853 struct pci_dev *pdev = pci_adapter->pcidev; 1854 int (*dev_migration_probe)(struct pci_dev *pdev); 1855 int rc; 1856 1857 if (hinic3_func_type((struct hinic3_hwdev *)pci_adapter->hwdev) != TYPE_PF) 1858 return; 1859 1860 dev_migration_probe = __symbol_get("migration_dev_migration_probe"); 1861 if (!(dev_migration_probe)) { 1862 sdk_err(&pdev->dev, 1863 "Failed to find: migration_dev_migration_probe"); 1864 queue_delayed_work(pci_adapter->migration_probe_workq, 1865 &pci_adapter->migration_probe_dwork, 1866 WAIT_TIME * HZ); 1867 } else { 1868 rc = dev_migration_probe(pdev);
1869 __symbol_put("migration_dev_migration_probe"); 1870 if (rc) { 1871 sdk_err(&pdev->dev, 1872 "Failed to __dev_migration_probe, rc:0x%x, pf migrated(%d).\n", 1873 rc, g_is_pf_migrated); 1874 } else { 1875 g_is_pf_migrated = true; 1876 sdk_info(&pdev->dev, 1877 "Succeeded in __dev_migration_probe, pf migrated(%d).\n", 1878 g_is_pf_migrated); 1879 } 1880 } 1881 } 1882
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki