From: kernel test robot <lkp@intel.com>
To: Himanshu Chauhan <hchauhan@ventanamicro.com>
Cc: oe-kbuild-all@lists.linux.dev, Anup Patel <anup@brainfault.org>
Subject: [avpatel:riscv_defconfig_v1 61/77] arch/riscv/include/asm/io.h:34:19: error: implicit declaration of function 'ioremap_prot'; did you mean 'ioremap_wt'?
Date: Tue, 27 May 2025 20:14:17 +0800 [thread overview]
Message-ID: <202505272041.K796220K-lkp@intel.com> (raw)
tree: https://github.com/avpatel/linux.git riscv_defconfig_v1
head: bd9f757ef4bfde0edc1b68dd9af6e35e1f999fb3
commit: 7edc82b9a1b5d8dfab77c5ac582cd28b6ebbaef6 [61/77] riscv: Define ioremap_cache for RISC-V
config: riscv-randconfig-r052-20250527 (https://download.01.org/0day-ci/archive/20250527/202505272041.K796220K-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250527/202505272041.K796220K-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/202505272041.K796220K-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/io.h:12,
from kernel/iomem.c:4:
kernel/iomem.c: In function 'arch_memremap_wb':
>> arch/riscv/include/asm/io.h:34:19: error: implicit declaration of function 'ioremap_prot'; did you mean 'ioremap_wt'? [-Werror=implicit-function-declaration]
((__force void *)ioremap_prot((addr), (size), PAGE_KERNEL))
^~~~~~~~~~~~
kernel/iomem.c:13:25: note: in expansion of macro 'ioremap_cache'
return (__force void *)ioremap_cache(offset, size);
^~~~~~~~~~~~~
arch/riscv/include/asm/io.h:34:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((__force void *)ioremap_prot((addr), (size), PAGE_KERNEL))
^
kernel/iomem.c:13:25: note: in expansion of macro 'ioremap_cache'
return (__force void *)ioremap_cache(offset, size);
^~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +34 arch/riscv/include/asm/io.h
32
33 #define ioremap_cache(addr, size) \
> 34 ((__force void *)ioremap_prot((addr), (size), PAGE_KERNEL))
35
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-05-27 12:15 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=202505272041.K796220K-lkp@intel.com \
--to=lkp@intel.com \
--cc=anup@brainfault.org \
--cc=hchauhan@ventanamicro.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 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.