public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* arch/arm/mach-mv78xx0/pcie.c:46:5: sparse: sparse: symbol 'pcie_port_size' was not declared. Should it be static?
@ 2024-11-27 22:23 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-11-27 22:23 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: oe-kbuild-all, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   7d4050728c83aa63828494ad0f4d0eb4faf5f97a
commit: 7036440eab3e2d47a775d4616909f8235488d714 ARM: omap1: enable multiplatform
date:   2 years, 6 months ago
config: arm-randconfig-r131-20241123 (https://download.01.org/0day-ci/archive/20241128/202411280649.ZlacdSn2-lkp@intel.com/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 592c0fe55f6d9a811028b5f3507be91458ab2713)
reproduce: (https://download.01.org/0day-ci/archive/20241128/202411280649.ZlacdSn2-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411280649.ZlacdSn2-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> arch/arm/mach-mv78xx0/pcie.c:46:5: sparse: sparse: symbol 'pcie_port_size' was not declared. Should it be static?
--
>> drivers/irqchip/irq-davinci-cp-intc.c:166:13: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void [noderef] __iomem *req @@     got struct resource * @@
   drivers/irqchip/irq-davinci-cp-intc.c:166:13: sparse:     expected void [noderef] __iomem *req
   drivers/irqchip/irq-davinci-cp-intc.c:166:13: sparse:     got struct resource *

vim +/pcie_port_size +46 arch/arm/mach-mv78xx0/pcie.c

cfdeb6376e439c5 Lennert Buytenhek 2009-02-20  45  
0b9b18e0166d892 Rob Herring       2012-07-09 @46  u32 pcie_port_size[8] = {
0b9b18e0166d892 Rob Herring       2012-07-09  47  	0,
0b9b18e0166d892 Rob Herring       2012-07-09  48  	0x30000000,
0b9b18e0166d892 Rob Herring       2012-07-09  49  	0x10000000,
0b9b18e0166d892 Rob Herring       2012-07-09  50  	0x10000000,
0b9b18e0166d892 Rob Herring       2012-07-09  51  	0x08000000,
0b9b18e0166d892 Rob Herring       2012-07-09  52  	0x08000000,
0b9b18e0166d892 Rob Herring       2012-07-09  53  	0x08000000,
0b9b18e0166d892 Rob Herring       2012-07-09  54  	0x04000000,
0b9b18e0166d892 Rob Herring       2012-07-09  55  };
0b9b18e0166d892 Rob Herring       2012-07-09  56  

:::::: The code at line 46 was first introduced by commit
:::::: 0b9b18e0166d8925ed222335efbc3cfd66aa882f ARM: mv78xx0: use fixed pci i/o mapping

:::::: TO: Rob Herring <rob.herring@calxeda.com>
:::::: CC: Rob Herring <rob.herring@calxeda.com>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-11-27 22:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-27 22:23 arch/arm/mach-mv78xx0/pcie.c:46:5: sparse: sparse: symbol 'pcie_port_size' was not declared. Should it be static? kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox