From: kernel test robot <lkp@intel.com>
To: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Bjorn Andersson <andersson@kernel.org>,
Dmitry Baryshkov <lumag@kernel.org>,
Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Subject: arch/s390/include/asm/io.h:30:22: error: implicit declaration of function 'ioremap_prot'; did you mean 'ioremap_np'?
Date: Thu, 10 Sep 2026 18:47:54 +0800 [thread overview]
Message-ID: <202609101854.0eBirOer-lkp@intel.com> (raw)
Hi Mukesh,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 50d05c7c76c96b90462f24debacca971d2e86713
commit: 0b0379fcf9ce395bb51cadb6552ec3b1380436bb remoteproc: qcom: pas: Map/unmap subsystem region before auth_and_reset
date: 6 weeks ago
config: s390-randconfig-r121-20260910 (https://download.01.org/0day-ci/archive/20260910/202609101854.0eBirOer-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 13.4.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260910/202609101854.0eBirOer-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
| Fixes: 0b0379fcf9ce ("remoteproc: qcom: pas: Map/unmap subsystem region before auth_and_reset")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609101854.0eBirOer-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/scatterlist.h:9,
from include/linux/dma-mapping.h:8,
from drivers/firmware/qcom/qcom_scm.c:13:
include/linux/firmware/qcom/qcom_pas.h: In function 'qcom_pas_ctx_map':
>> 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:9: note: in expansion of macro 'ioremap_prot'
36 | ioremap_prot((addr), (size), pgprot_writecombine(PAGE_KERNEL))
| ^~~~~~~~~~~~
include/linux/firmware/qcom/qcom_pas.h:29:29: note: in expansion of macro 'ioremap_wc'
29 | void __iomem *ptr = ioremap_wc(ctx->mem_phys, ctx->mem_size);
| ^~~~~~~~~~
arch/s390/include/asm/io.h:30:22: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
30 | #define ioremap_prot ioremap_prot
| ^~~~~~~~~~~~
arch/s390/include/asm/io.h:36:9: note: in expansion of macro 'ioremap_prot'
36 | ioremap_prot((addr), (size), pgprot_writecombine(PAGE_KERNEL))
| ^~~~~~~~~~~~
include/linux/firmware/qcom/qcom_pas.h:29:29: note: in expansion of macro 'ioremap_wc'
29 | void __iomem *ptr = ioremap_wc(ctx->mem_phys, ctx->mem_size);
| ^~~~~~~~~~
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-09-10 10:48 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=202609101854.0eBirOer-lkp@intel.com \
--to=lkp@intel.com \
--cc=andersson@kernel.org \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lumag@kernel.org \
--cc=mukesh.ojha@oss.qualcomm.com \
--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
all inboxes | Powered by JetHome®