From: kernel test robot <lkp@intel.com>
To: Ben Levinsky <ben.levinsky@amd.com>
Cc: oe-kbuild-all@lists.linux.dev,
Mathieu Poirier <mathieu.poirier@linaro.org>
Subject: [remoteproc:rproc-next 1/7] arch/s390/include/asm/io.h:30:22: error: implicit declaration of function 'ioremap_prot'; did you mean 'ioremap_np'?
Date: Tue, 30 Jun 2026 15:08:25 +0800 [thread overview]
Message-ID: <202606301559.w8eorNQ2-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git rproc-next
head: 70cfc11cfcfb07ca8eeed1f667cc0eec9e82aa71
commit: 50227acbf4e5173db0f05ed95414512e7783889f [1/7] remoteproc: Add common wc-ioremap carveout callbacks
config: s390-randconfig-r134-20260630 (https://download.01.org/0day-ci/archive/20260630/202606301559.w8eorNQ2-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 9.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260630/202606301559.w8eorNQ2-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/202606301559.w8eorNQ2-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
In file included from include/linux/scatterlist.h:9,
from include/linux/dma-mapping.h:8,
from drivers/remoteproc/remoteproc_core.c:22:
drivers/remoteproc/remoteproc_internal.h: In function 'rproc_mem_entry_ioremap_wc':
>> arch/s390/include/asm/io.h:30:22: error: implicit declaration of function 'ioremap_prot'; did you mean 'ioremap_np'? [-Werror=implicit-function-declaration]
30 | #define ioremap_prot ioremap_prot
| ^~~~~~~~~~~~
arch/s390/include/asm/io.h:36:2: note: in expansion of macro 'ioremap_prot'
36 | ioremap_prot((addr), (size), pgprot_writecombine(PAGE_KERNEL))
| ^~~~~~~~~~~~
drivers/remoteproc/remoteproc_internal.h:131:7: note: in expansion of macro 'ioremap_wc'
131 | va = ioremap_wc(mem->dma, mem->len);
| ^~~~~~~~~~
In file included from drivers/remoteproc/remoteproc_core.c:39:
>> drivers/remoteproc/remoteproc_internal.h:131:5: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
131 | va = ioremap_wc(mem->dma, mem->len);
| ^
In file included from include/linux/scatterlist.h:9,
from include/linux/dma-mapping.h:8,
from drivers/remoteproc/remoteproc_core.c:22:
drivers/remoteproc/remoteproc_internal.h: In function 'rproc_mem_entry_iounmap':
>> arch/s390/include/asm/io.h:31:17: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
31 | #define iounmap iounmap
| ^~~~~~~
drivers/remoteproc/remoteproc_internal.h:146:2: note: in expansion of macro 'iounmap'
146 | iounmap((__force __iomem void *)mem->va);
| ^~~~~~~
cc1: some warnings being treated as errors
--
In file included from include/linux/scatterlist.h:9,
from include/linux/devcoredump.h:12,
from drivers/remoteproc/remoteproc_coredump.c:9:
drivers/remoteproc/remoteproc_internal.h: In function 'rproc_mem_entry_ioremap_wc':
>> arch/s390/include/asm/io.h:30:22: error: implicit declaration of function 'ioremap_prot'; did you mean 'ioremap_np'? [-Werror=implicit-function-declaration]
30 | #define ioremap_prot ioremap_prot
| ^~~~~~~~~~~~
arch/s390/include/asm/io.h:36:2: note: in expansion of macro 'ioremap_prot'
36 | ioremap_prot((addr), (size), pgprot_writecombine(PAGE_KERNEL))
| ^~~~~~~~~~~~
drivers/remoteproc/remoteproc_internal.h:131:7: note: in expansion of macro 'ioremap_wc'
131 | va = ioremap_wc(mem->dma, mem->len);
| ^~~~~~~~~~
In file included from drivers/remoteproc/remoteproc_coredump.c:13:
>> drivers/remoteproc/remoteproc_internal.h:131:5: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
131 | va = ioremap_wc(mem->dma, mem->len);
| ^
In file included from include/linux/scatterlist.h:9,
from include/linux/devcoredump.h:12,
from drivers/remoteproc/remoteproc_coredump.c:9:
drivers/remoteproc/remoteproc_internal.h: In function 'rproc_mem_entry_iounmap':
arch/s390/include/asm/io.h:31:17: error: implicit declaration of function 'iounmap'; did you mean 'vunmap'? [-Werror=implicit-function-declaration]
31 | #define iounmap iounmap
| ^~~~~~~
drivers/remoteproc/remoteproc_internal.h:146:2: note: in expansion of macro 'iounmap'
146 | iounmap((__force __iomem void *)mem->va);
| ^~~~~~~
cc1: some warnings being treated as errors
vim +30 arch/s390/include/asm/io.h
cd24834130ac655 Jan Glauber 2012-11-29 26
b43b3fff042d08a Baoquan He 2023-07-06 27 /*
b43b3fff042d08a Baoquan He 2023-07-06 28 * I/O memory mapping functions.
b43b3fff042d08a Baoquan He 2023-07-06 29 */
b43b3fff042d08a Baoquan He 2023-07-06 @30 #define ioremap_prot ioremap_prot
b43b3fff042d08a Baoquan He 2023-07-06 @31 #define iounmap iounmap
b43b3fff042d08a Baoquan He 2023-07-06 32
:::::: The code at line 30 was first introduced by commit
:::::: b43b3fff042d08a0bcc0a6d87c3216b44860298e s390: mm: convert to GENERIC_IOREMAP
:::::: TO: Baoquan He <bhe@redhat.com>
:::::: CC: Andrew Morton <akpm@linux-foundation.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-06-30 7:08 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=202606301559.w8eorNQ2-lkp@intel.com \
--to=lkp@intel.com \
--cc=ben.levinsky@amd.com \
--cc=mathieu.poirier@linaro.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 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.