From: kernel test robot <lkp@intel.com>
To: Ignat Korchagin <ignat@cloudflare.com>
Cc: oe-kbuild-all@lists.linux.dev,
Linux Memory Management List <linux-mm@kvack.org>,
Andrew Morton <akpm@linux-foundation.org>
Subject: [linux-next:master 4732/5273] arch/sh/kernel/crash_dump.c:23:36: sparse: sparse: incorrect type in argument 1 (different address spaces)
Date: Wed, 6 Dec 2023 18:52:57 +0800 [thread overview]
Message-ID: <202312061837.tbKWaozM-lkp@intel.com> (raw)
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
reply other threads:[~2023-12-06 10:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202312061837.tbKWaozM-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=ignat@cloudflare.com \
--cc=linux-mm@kvack.org \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox