[gerg-m68knommu:armnommu 3/3] arch/arm/mach-versatile/versatile.c:89:23: sparse: sparse: symbol 'versatile_auxdata_lookup' was not declared. Should it be static?

kernel test robot <[email protected]>
Newsgroups org.kernel.vger.linux-m68k,dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu.git armnommu
head:   4dd9730e9bed27b56f15e10eb787b468fb5b9343
commit: 4dd9730e9bed27b56f15e10eb787b468fb5b9343 [3/3] ARM: versatile: support configuring versatile machine for no-MMU
config: arm-randconfig-r113-20260601 (https://download.01.org/0day-ci/archive/20260602/[email protected]/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project e5ab4f8a1f766febdc65ce89c00dec85393cfd68)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260602/[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]/

sparse warnings: (new ones prefixed by >>)
>> arch/arm/mach-versatile/versatile.c:89:23: sparse: sparse: symbol 'versatile_auxdata_lookup' was not declared. Should it be static?

vim +/versatile_auxdata_lookup +89 arch/arm/mach-versatile/versatile.c

a7096789211193 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08  82  
a7096789211193 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08  83  /*
a7096789211193 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08  84   * Lookup table for attaching a specific name and platform_data pointer to
a7096789211193 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08  85   * devices as they get created by of_platform_populate().  Ideally this table
a7096789211193 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08  86   * would not exist, but the current clock implementation depends on some devices
a7096789211193 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08  87   * having a specific name.
a7096789211193 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08  88   */
a7096789211193 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08 @89  struct of_dev_auxdata versatile_auxdata_lookup[] __initdata = {
a7096789211193 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08  90  	OF_DEV_AUXDATA("arm,primecell", VERSATILE_MMCI0_BASE, "fpga:05", &mmc0_plat_data),
a7096789211193 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08  91  	OF_DEV_AUXDATA("arm,primecell", VERSATILE_MMCI1_BASE, "fpga:0b", &mmc1_plat_data),
a7096789211193 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08  92  	{}
a7096789211193 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08  93  };
a7096789211193 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08  94  

:::::: The code at line 89 was first introduced by commit
:::::: a70967892111934e292485ce84f1bab38cc55380 ARM: versatile: merge mach code into a single file

:::::: TO: Rob Herring <[email protected]>
:::::: CC: Arnd Bergmann <[email protected]>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.