* [linux-next:master 4732/5273] arch/sh/kernel/crash_dump.c:23:36: sparse: sparse: incorrect type in argument 1 (different address spaces)
@ 2023-12-06 10:52 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-06 10:52 UTC (permalink / raw)
To: Ignat Korchagin
Cc: oe-kbuild-all, Linux Memory Management List, Andrew Morton
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 577a4ee0b96fb043c9cf4a533c550ff587e526cf
commit: 590dd59b60f446af09df274d7650307415dd617a [4732/5273] kexec: drop dependency on ARCH_SUPPORTS_KEXEC from CRASH_DUMP
config: sh-randconfig-r112-20231206 (https://download.01.org/0day-ci/archive/20231206/202312061837.tbKWaozM-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231206/202312061837.tbKWaozM-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/202312061837.tbKWaozM-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> arch/sh/kernel/crash_dump.c:23:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got void [noderef] __iomem * @@
arch/sh/kernel/crash_dump.c:23:36: sparse: expected void const *addr
arch/sh/kernel/crash_dump.c:23:36: sparse: got void [noderef] __iomem *
vim +23 arch/sh/kernel/crash_dump.c
4d5ade5b29c618e Paul Mundt 2007-04-27 13
5d8de293c224896 Matthew Wilcox (Oracle 2022-04-29 14) ssize_t copy_oldmem_page(struct iov_iter *iter, unsigned long pfn,
5d8de293c224896 Matthew Wilcox (Oracle 2022-04-29 15) size_t csize, unsigned long offset)
4d5ade5b29c618e Paul Mundt 2007-04-27 16 {
12285ff8667bf06 Yejune Deng 2020-12-10 17 void __iomem *vaddr;
4d5ade5b29c618e Paul Mundt 2007-04-27 18
4d5ade5b29c618e Paul Mundt 2007-04-27 19 if (!csize)
4d5ade5b29c618e Paul Mundt 2007-04-27 20 return 0;
4d5ade5b29c618e Paul Mundt 2007-04-27 21
4d5ade5b29c618e Paul Mundt 2007-04-27 22 vaddr = ioremap(pfn << PAGE_SHIFT, PAGE_SIZE);
5d8de293c224896 Matthew Wilcox (Oracle 2022-04-29 @23) csize = copy_to_iter(vaddr + offset, csize, iter);
:::::: The code at line 23 was first introduced by commit
:::::: 5d8de293c224896a4da99763fce4f9794308caf4 vmcore: convert copy_oldmem_page() to take an iov_iter
:::::: TO: Matthew Wilcox (Oracle) <willy@infradead.org>
:::::: CC: akpm <akpm@linux-foundation.org>
--
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:[~2023-12-06 10:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-06 10:52 [linux-next:master 4732/5273] arch/sh/kernel/crash_dump.c:23:36: sparse: sparse: incorrect type in argument 1 (different address spaces) 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