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: <202409131434.roYJxLGs-lkp@intel.com>
Date: Fri, 13 Sep 2024 14:21:28 +0800
From: kernel test robot <lkp@...el.com>
To: Krzysztof Kozlowski <krzk@...nel.org>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
	Dinh Nguyen <dinguyen@...nel.org>
Subject: drivers/edac/altera_edac.c:886:28: sparse: sparse: incorrect type in
 argument 1 (different base types)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   196145c606d0f816fd3926483cb1ff87e09c2c0b
commit: 4a9a1a5602d82c079325bf37466af0b67d6c0b9e arm64: socfpga: merge Agilex and N5X into ARCH_INTEL_SOCFPGA
date:   3 years, 6 months ago
config: arm64-randconfig-r111-20240913 (https://download.01.org/0day-ci/archive/20240913/202409131434.roYJxLGs-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 14.1.0
reproduce: (https://download.01.org/0day-ci/archive/20240913/202409131434.roYJxLGs-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/202409131434.roYJxLGs-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/edac/altera_edac.c:886:28: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected restricted __be32 const [usertype] *p @@     got unsigned int const [usertype] *handle @@
   drivers/edac/altera_edac.c:886:28: sparse:     expected restricted __be32 const [usertype] *p
   drivers/edac/altera_edac.c:886:28: sparse:     got unsigned int const [usertype] *handle

vim +886 drivers/edac/altera_edac.c

1166fde93d5b1d Thor Thayer 2016-06-22  878  
1166fde93d5b1d Thor Thayer 2016-06-22  879  static inline int a10_get_irq_mask(struct device_node *np)
1166fde93d5b1d Thor Thayer 2016-06-22  880  {
1166fde93d5b1d Thor Thayer 2016-06-22  881  	int irq;
1166fde93d5b1d Thor Thayer 2016-06-22  882  	const u32 *handle = of_get_property(np, "interrupts", NULL);
1166fde93d5b1d Thor Thayer 2016-06-22  883  
1166fde93d5b1d Thor Thayer 2016-06-22  884  	if (!handle)
1166fde93d5b1d Thor Thayer 2016-06-22  885  		return -ENODEV;
1166fde93d5b1d Thor Thayer 2016-06-22 @886  	irq = be32_to_cpup(handle);
1166fde93d5b1d Thor Thayer 2016-06-22  887  	return irq;
1166fde93d5b1d Thor Thayer 2016-06-22  888  }
1166fde93d5b1d Thor Thayer 2016-06-22  889  

:::::: The code at line 886 was first introduced by commit
:::::: 1166fde93d5b1d7267992edc7e2c8ee129d6667e EDAC, altera: Add Arria10 ECC memory init functions

:::::: TO: Thor Thayer <tthayer@...nsource.altera.com>
:::::: CC: Borislav Petkov <bp@...e.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