mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [arm-integrator:virt-to-pfn-v6.0-rc1 20/24] arch/openrisc/include/asm/page.h:82:26: error: invalid operands to binary << (have 'void *' and 'int')
@ 2022-09-09  0:42 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-09-09  0:42 UTC (permalink / raw)
  To: Linus Walleij; +Cc: kbuild-all, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git virt-to-pfn-v6.0-rc1
head:   bc69ecf9b2a3d1f9699edab614580d6a6e090407
commit: 50c0db6d3425ce9310be32638e83e7e8d6a0530c [20/24] openrisc: Make pfn accessors statics inlines
config: openrisc-randconfig-r023-20220909 (https://download.01.org/0day-ci/archive/20220909/202209090813.hAnwc80U-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 12.1.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/linusw/linux-integrator.git/commit/?id=50c0db6d3425ce9310be32638e83e7e8d6a0530c
        git remote add arm-integrator https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
        git fetch --no-tags arm-integrator virt-to-pfn-v6.0-rc1
        git checkout 50c0db6d3425ce9310be32638e83e7e8d6a0530c
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=openrisc prepare

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from arch/openrisc/include/asm/processor.h:19,
                    from arch/openrisc/include/asm/thread_info.h:22,
                    from include/linux/thread_info.h:60,
                    from include/asm-generic/current.h:5,
                    from ./arch/openrisc/include/generated/asm/current.h:1,
                    from include/linux/sched.h:12,
                    from arch/openrisc/kernel/asm-offsets.c:23:
   arch/openrisc/include/asm/page.h: In function 'pfn_to_virt':
>> arch/openrisc/include/asm/page.h:82:26: error: invalid operands to binary << (have 'void *' and 'int')
      82 |         return __va(pfn) << PAGE_SHIFT;
         |                          ^~
   make[2]: *** [scripts/Makefile.build:117: arch/openrisc/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1207: prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:222: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.


vim +82 arch/openrisc/include/asm/page.h

    79	
    80	static inline void * pfn_to_virt(unsigned long pfn)
    81	{
  > 82		return __va(pfn) << PAGE_SHIFT;
    83	}
    84	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-09  0:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-09  0:42 [arm-integrator:virt-to-pfn-v6.0-rc1 20/24] arch/openrisc/include/asm/page.h:82:26: error: invalid operands to binary << (have 'void *' and 'int') kernel test robot

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®