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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202408261244.v2gfgSON-lkp@intel.com>
Date: Mon, 26 Aug 2024 12:15:23 +0800
From: kernel test robot <lkp@...el.com>
To: "Maciej W. Rozycki" <macro@...am.me.uk>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
	x86@...nel.org, Thomas Gleixner <tglx@...utronix.de>
Subject: [tip:x86/cleanups 3/9] arch/x86/kernel/eisa.c:20:24: sparse: sparse:
 incorrect type in argument 1 (different address spaces)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/cleanups
head:   cc5e03f3be3154f860c9d08b2ac8c139863e1515
commit: 80a4da05642c384bc6f5b602b865ebd7e3963902 [3/9] x86/EISA: Use memremap() to probe for the EISA BIOS signature
config: i386-randconfig-061-20240826 (https://download.01.org/0day-ci/archive/20240826/202408261244.v2gfgSON-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240826/202408261244.v2gfgSON-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/202408261244.v2gfgSON-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> arch/x86/kernel/eisa.c:20:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void *[assigned] p @@
   arch/x86/kernel/eisa.c:20:24: sparse:     expected void const volatile [noderef] __iomem *addr
   arch/x86/kernel/eisa.c:20:24: sparse:     got void *[assigned] p

vim +20 arch/x86/kernel/eisa.c

6a92b11169a65b Boris Ostrovsky   2018-09-11  11  
f7eaf6e00fd581 Thomas Gleixner   2017-08-28  12  static __init int eisa_bus_probe(void)
f7eaf6e00fd581 Thomas Gleixner   2017-08-28  13  {
80a4da05642c38 Maciej W. Rozycki 2024-08-24  14  	void *p;
6a92b11169a65b Boris Ostrovsky   2018-09-11  15  
0f4a1e80989aca Kevin Loughlin    2024-03-13  16  	if ((xen_pv_domain() && !xen_initial_domain()) || cc_platform_has(CC_ATTR_GUEST_SEV_SNP))
6a92b11169a65b Boris Ostrovsky   2018-09-11  17  		return 0;
f7eaf6e00fd581 Thomas Gleixner   2017-08-28  18  
80a4da05642c38 Maciej W. Rozycki 2024-08-24  19  	p = memremap(0x0FFFD9, 4, MEMREMAP_WB);
6a92b11169a65b Boris Ostrovsky   2018-09-11 @20  	if (p && readl(p) == 'E' + ('I' << 8) + ('S' << 16) + ('A' << 24))

:::::: The code at line 20 was first introduced by commit
:::::: 6a92b11169a65b3f8cc512c75a252cbd0d096ba0 x86/EISA: Don't probe EISA bus for Xen PV guests

:::::: TO: Boris Ostrovsky <boris.ostrovsky@...cle.com>
:::::: CC: Thomas Gleixner <tglx@...utronix.de>

-- 
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