lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202502010323.RZE0k8gB-lkp@intel.com>
Date: Sat, 1 Feb 2025 03:14:46 +0800
From: kernel test robot <lkp@...el.com>
To: Christian Marangi <ansuelsmth@...il.com>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
	linux-kernel@...r.kernel.org,
	Viresh Kumar <viresh.kumar@...aro.org>
Subject: drivers/cpufreq/airoha-cpufreq.c:109:34: warning: unused variable
 'airoha_cpufreq_match_list'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   69e858e0b8b2ea07759e995aa383e8780d9d140c
commit: 84cf9e541cccb8cb698518a9897942e8c78f1d83 cpufreq: airoha: Add EN7581 CPUFreq SMCCC driver
date:   2 weeks ago
config: x86_64-buildonly-randconfig-001-20250201 (https://download.01.org/0day-ci/archive/20250201/202502010323.RZE0k8gB-lkp@intel.com/config)
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/20250201/202502010323.RZE0k8gB-lkp@intel.com/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 <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502010323.RZE0k8gB-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/cpufreq/airoha-cpufreq.c:109:34: warning: unused variable 'airoha_cpufreq_match_list' [-Wunused-const-variable]
     109 | static const struct of_device_id airoha_cpufreq_match_list[] __initconst = {
         |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~
   1 warning generated.


vim +/airoha_cpufreq_match_list +109 drivers/cpufreq/airoha-cpufreq.c

   108	
 > 109	static const struct of_device_id airoha_cpufreq_match_list[] __initconst = {
   110		{ .compatible = "airoha,en7581" },
   111		{},
   112	};
   113	MODULE_DEVICE_TABLE(of, airoha_cpufreq_match_list);
   114	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ