All of lore.kernel.org
 help / color / mirror / Atom feed
* [arm-integrator:b4/csky-virt-to-phys 3/3] arch/csky/include/asm/page.h:87:26: error: invalid operands to binary << (have 'void *' and 'int')
@ 2023-08-08 10:28 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-08 10:28 UTC (permalink / raw)
  To: Linus Walleij; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git b4/csky-virt-to-phys
head:   cc0c9b81d4f577d38eba4af3cbe268e0eac7b1df
commit: cc0c9b81d4f577d38eba4af3cbe268e0eac7b1df [3/3] csky: Make pfn accessors static inlines
config: csky-defconfig (https://download.01.org/0day-ci/archive/20230808/202308081831.AwLfGh1Z-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230808/202308081831.AwLfGh1Z-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/202308081831.AwLfGh1Z-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from arch/csky/include/asm/thread_info.h:9,
                    from include/linux/thread_info.h:60,
                    from include/asm-generic/current.h:5,
                    from ./arch/csky/include/generated/asm/current.h:1,
                    from include/linux/sched.h:12,
                    from arch/csky/kernel/asm-offsets.c:4:
   arch/csky/include/asm/page.h: In function 'pfn_to_virt':
>> arch/csky/include/asm/page.h:87:26: error: invalid operands to binary << (have 'void *' and 'int')
      87 |         return __va(pfn) << PAGE_SHIFT;
         |                          ^~
   make[3]: *** [scripts/Makefile.build:116: arch/csky/kernel/asm-offsets.s] Error 1
   make[3]: Target 'prepare' not remade because of errors.
   make[2]: *** [Makefile:1275: prepare0] Error 2
   make[2]: Target 'prepare' not remade because of errors.
   make[1]: *** [Makefile:234: __sub-make] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:234: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.


vim +87 arch/csky/include/asm/page.h

    84	
    85	static inline void * pfn_to_virt(unsigned long pfn)
    86	{
  > 87		return __va(pfn) << PAGE_SHIFT;
    88	}
    89	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

only message in thread, other threads:[~2023-08-08 10:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-08 10:28 [arm-integrator:b4/csky-virt-to-phys 3/3] arch/csky/include/asm/page.h:87:26: error: invalid operands to binary << (have 'void *' and 'int') kernel test robot

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.