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: <202411280649.ZlacdSn2-lkp@intel.com>
Date: Thu, 28 Nov 2024 06:23:45 +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:46: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:   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@...el.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@...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

Powered by Openwall GNU/*/Linux Powered by OpenVZ