[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202410121730.ViWfi0F2-lkp@intel.com>
Date: Sat, 12 Oct 2024 17:52:21 +0800
From: kernel test robot <lkp@...el.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: arch/arm/mach-mv78xx0/pcie.c:43:5: sparse: sparse: symbol
'pcie_port_size' was not declared. Should it be static?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 09f6b0c8904bfaa1e0601bc102e1b6aa6de8c98f
commit: e2fe85aa6a6387c4babe4c191e50b7af8ee37faf ARM: mv78xx0: un-deprecate Terastation WXL
date: 1 year, 9 months ago
config: arm-randconfig-r122-20241012 (https://download.01.org/0day-ci/archive/20241012/202410121730.ViWfi0F2-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 14.1.0
reproduce: (https://download.01.org/0day-ci/archive/20241012/202410121730.ViWfi0F2-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/202410121730.ViWfi0F2-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> arch/arm/mach-mv78xx0/pcie.c:43:5: sparse: sparse: symbol 'pcie_port_size' was not declared. Should it be static?
vim +/pcie_port_size +43 arch/arm/mach-mv78xx0/pcie.c
cfdeb6376e439c Lennert Buytenhek 2009-02-20 42
0b9b18e0166d89 Rob Herring 2012-07-09 @43 u32 pcie_port_size[8] = {
0b9b18e0166d89 Rob Herring 2012-07-09 44 0,
0b9b18e0166d89 Rob Herring 2012-07-09 45 0x30000000,
0b9b18e0166d89 Rob Herring 2012-07-09 46 0x10000000,
0b9b18e0166d89 Rob Herring 2012-07-09 47 0x10000000,
0b9b18e0166d89 Rob Herring 2012-07-09 48 0x08000000,
0b9b18e0166d89 Rob Herring 2012-07-09 49 0x08000000,
0b9b18e0166d89 Rob Herring 2012-07-09 50 0x08000000,
0b9b18e0166d89 Rob Herring 2012-07-09 51 0x04000000,
0b9b18e0166d89 Rob Herring 2012-07-09 52 };
0b9b18e0166d89 Rob Herring 2012-07-09 53
:::::: The code at line 43 was first introduced by commit
:::::: 0b9b18e0166d8925ed222335efbc3cfd66aa882f ARM: mv78xx0: use fixed pci i/o mapping
:::::: TO: Rob Herring <rob.herring@...xeda.com>
:::::: CC: Rob Herring <rob.herring@...xeda.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists