Hi Yonglong,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: 929a9df37c1b7dec73fd417d79a116d02a8f9380 commit: c64545e1e5fa4e09603149e918f306562a22a60a [2417/2417] net: hns3: add support for Hisilicon ptp sync device config: x86_64-buildonly-randconfig-001-20241112 (https://download.01.org/0day-ci/archive/20241203/202412030237.97I45s3K-lkp@i...) compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241203/202412030237.97I45s3K-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/202412030237.97I45s3K-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/ptp/ptp_hisi.c:3: In file included from include/linux/mm.h:1573: include/linux/vmstat.h:431:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 431 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~
drivers/ptp/ptp_hisi.c:731:36: warning: unused variable 'hisi_ptp_acpi_match' [-Wunused-const-variable]
731 | static const struct acpi_device_id hisi_ptp_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~ 2 warnings generated.
vim +/hisi_ptp_acpi_match +731 drivers/ptp/ptp_hisi.c
730
731 static const struct acpi_device_id hisi_ptp_acpi_match[] = {
732 { "HISI0411", 0 }, 733 { } 734 }; 735 MODULE_DEVICE_TABLE(acpi, hisi_ptp_acpi_match); 736