lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sun, 10 Oct 2021 20:50:45 +0800
From:   kernel test robot <>
To:     Sven Schnelle <>
        Helge Deller <>
Subject: [deller-parisc:hpmc-trigger 1/1] drivers/tty/sysrq.c:1189:29: error:
 expected expression before 'phys_addr_t'

tree: 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 -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add deller-parisc
        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 <>

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

  1185	static int __init sysrq_init(void)
  1186	{
  1187		sysrq_init_procfs();
> 1189		hpmc_addr = ioremap(phys_addr_t(0xfffffff0e0000000UL), 4096);

0-DAY CI Kernel Test Service, Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (74386 bytes)

Powered by blists - more mailing lists