[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202207161625.6meYQ3Il-lkp@intel.com>
Date: Sat, 16 Jul 2022 16:43:16 +0800
From: kernel test robot <lkp@...el.com>
To: Sumit Gupta <sumitg@...dia.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Viresh Kumar <viresh.kumar@...aro.org>
Subject: drivers/cpufreq/tegra194-cpufreq.c:165:32: sparse: sparse: symbol
'tegra234_cpufreq_soc' was not declared. Should it be static?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9b59ec8d50a1f28747ceff9a4f39af5deba9540e
commit: 273bc890a2a83ba8c7d8eee50b74138f5a5834d1 cpufreq: tegra194: Add support for Tegra234
date: 3 months ago
config: arm64-allyesconfig
compiler: aarch64-linux-gcc (GCC) 11.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=273bc890a2a83ba8c7d8eee50b74138f5a5834d1
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 273bc890a2a83ba8c7d8eee50b74138f5a5834d1
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/cpufreq/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/cpufreq/tegra194-cpufreq.c:165:32: sparse: sparse: symbol 'tegra234_cpufreq_soc' was not declared. Should it be static?
drivers/cpufreq/tegra194-cpufreq.c:433:32: sparse: sparse: symbol 'tegra194_cpufreq_soc' was not declared. Should it be static?
vim +/tegra234_cpufreq_soc +165 drivers/cpufreq/tegra194-cpufreq.c
164
> 165 const struct tegra_cpufreq_soc tegra234_cpufreq_soc = {
166 .ops = &tegra234_cpufreq_ops,
167 .actmon_cntr_base = 0x9000,
168 .maxcpus_per_cluster = 4,
169 };
170
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (349244 bytes)
Powered by blists - more mailing lists