From: kernel test robot <lkp@intel.com>
To: Sven Schnelle <svens@stackframe.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Helge Deller <deller@gmx.de>
Subject: [deller-parisc:hpmc-trigger 1/1] drivers/tty/sysrq.c:1189:29: error: expected expression before 'phys_addr_t'
Date: Sun, 10 Oct 2021 20:50:45 +0800 [thread overview]
Message-ID: <202110102043.F0HHrfIv-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2500 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git hpmc-trigger
head: 1332ba6fc43cd3213f2872cbd5a5414acdd4f689
commit: 1332ba6fc43cd3213f2872cbd5a5414acdd4f689 [1/1] parisc: trigger hpmc on parisc arch
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/commit/?id=1332ba6fc43cd3213f2872cbd5a5414acdd4f689
git remote add deller-parisc https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git
git fetch --no-tags deller-parisc hpmc-trigger
git checkout 1332ba6fc43cd3213f2872cbd5a5414acdd4f689
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/tty/sysrq.c: In function 'sysrq_init':
>> drivers/tty/sysrq.c:1189:29: error: expected expression before 'phys_addr_t'
1189 | hpmc_addr = ioremap(phys_addr_t(0xfffffff0e0000000UL), 4096);
| ^~~~~~~~~~~
>> drivers/tty/sysrq.c:1189:21: error: too few arguments to function 'ioremap'
1189 | hpmc_addr = ioremap(phys_addr_t(0xfffffff0e0000000UL), 4096);
| ^~~~~~~
In file included from include/linux/io.h:13,
from include/linux/irq.h:20,
from arch/powerpc/include/asm/hardirq.h:6,
from include/linux/hardirq.h:11,
from include/linux/interrupt.h:11,
from drivers/tty/sysrq.c:23:
arch/powerpc/include/asm/io.h:840:22: note: declared here
840 | extern void __iomem *ioremap(phys_addr_t address, unsigned long size);
| ^~~~~~~
vim +/phys_addr_t +1189 drivers/tty/sysrq.c
1184
1185 static int __init sysrq_init(void)
1186 {
1187 sysrq_init_procfs();
1188
> 1189 hpmc_addr = ioremap(phys_addr_t(0xfffffff0e0000000UL), 4096);
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 74386 bytes --]
reply other threads:[~2021-10-10 12:51 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=202110102043.F0HHrfIv-lkp@intel.com \
--to=lkp@intel.com \
--cc=deller@gmx.de \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=svens@stackframe.org \
/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