All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 9144/17742] arch/m68k/atari/config.c:959:43: sparse: sparse: incorrect type in argument 1 (different address spaces)
@ 2026-10-20 13:57 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-20 13:57 UTC (permalink / raw)
  To: Miro Kropacek; +Cc: oe-kbuild-all, Geert Uytterhoeven, Michael Schmitz

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   3d229ce89862b8e82d71a9e11d6f840ca272a6d6
commit: dd22510518598ad0b0341168075b77b647954ff0 [9144/17742] m68k: Add support for SVEthLANa
config: m68k-randconfig-r2303-20261020 (https://download.01.org/0day-ci/archive/20261020/202610201504.iUGrxqnn-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 8.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261020/202610201504.iUGrxqnn-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/202610201504.iUGrxqnn-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> arch/m68k/atari/config.c:959:43: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void volatile *regp @@     got void [noderef] __iomem *[assigned] sv_version @@
   arch/m68k/atari/config.c:959:43: sparse:     expected void volatile *regp
   arch/m68k/atari/config.c:959:43: sparse:     got void [noderef] __iomem *[assigned] sv_version

vim +959 arch/m68k/atari/config.c

   951	
   952	#ifdef CONFIG_ATARI_SVETHLANA
   953		{
   954			int error;
   955			void __iomem *sv_version;
   956	
   957			sv_version = ioremap(ATARI_SV_VERSION_PHYS_ADDR, 4);
   958			if (sv_version) {
 > 959				if (hwreg_present(sv_version) &&
   960				    (__raw_readl(sv_version) & 0x3ff) >= 10) {
   961					error = platform_device_register(&svethlana_device);
   962					if (error && !rv)
   963						rv = error;
   964				}
   965				iounmap(sv_version);
   966			}
   967		}
   968	#endif
   969	

--
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:[~2026-10-20 13:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-20 13:57 [linux-next:master 9144/17742] arch/m68k/atari/config.c:959:43: sparse: sparse: incorrect type in argument 1 (different address spaces) kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.