Skip to contentSkip to conversation

drivers/cpufreq/qcom-cpufreq-nvmem.c:259:34: warning: 'qcom_cpufreq_ipq806x_match_list' defined but not used

PATCH kernel test robot 1 participant 1 message Nov 20, 2025

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   88cbd8ac379cf5ce68b7efcfd4d1484a6871ee0b
commit: 58f5d39d5ed8f2e43f230389ea0d59791afdcd55 [6449/10599] cpufreq: qcom-nvmem: add compatible fallback for ipq806x for no SMEM
config: sh-randconfig-6002-20251120 (https://download.01.org/0day-ci/archive/20251120/[email protected]/config)
compiler: sh4-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251120/[email protected]/reproduce)

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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

>> drivers/cpufreq/qcom-cpufreq-nvmem.c:259:34: warning: 'qcom_cpufreq_ipq806x_match_list' defined but not used [-Wunused-const-variable=]
     259 | static const struct of_device_id qcom_cpufreq_ipq806x_match_list[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for I2C_K1
Depends on [n]: I2C [=y] && HAS_IOMEM [=y] && (ARCH_SPACEMIT || COMPILE_TEST [=y]) && OF [=n] Selected by [y]:
- MFD_SPACEMIT_P1 [=y] && HAS_IOMEM [=y] && (ARCH_SPACEMIT || COMPILE_TEST [=y]) && I2C [=y]

vim +/qcom_cpufreq_ipq806x_match_list +259 drivers/cpufreq/qcom-cpufreq-nvmem.c

258

 > 259	static const struct of_device_id qcom_cpufreq_ipq806x_match_list[] = {

260 { .compatible = "qcom,ipq8062", .data = (const void *)QCOM_ID_IPQ8062 },
261 { .compatible = "qcom,ipq8064", .data = (const void *)QCOM_ID_IPQ8064 },
262 { .compatible = "qcom,ipq8065", .data = (const void *)QCOM_ID_IPQ8065 },
263 { .compatible = "qcom,ipq8066", .data = (const void *)QCOM_ID_IPQ8066 },
264 { .compatible = "qcom,ipq8068", .data = (const void *)QCOM_ID_IPQ8068 },
265 { .compatible = "qcom,ipq8069", .data = (const void *)QCOM_ID_IPQ8069 },
266 };
267

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki