* [arm-integrator:kernel-in-vmalloc-v6.2-rc3 10/25] arch/csky/include/asm/page.h:88:26: error: invalid operands to binary << (have 'void *' and 'int')
@ 2023-02-02 10:34 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-02-02 10:34 UTC (permalink / raw)
To: Linus Walleij; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git kernel-in-vmalloc-v6.2-rc3
head: ac3cfb78163256f2febd47ebd017d9f5b75820dd
commit: bea7055d9a9a982090f391a7d7f2d8a02401b465 [10/25] csky: Make pfn accessors static inlines
config: csky-randconfig-r032-20230201 (https://download.01.org/0day-ci/archive/20230202/202302021858.5D7Mdevu-lkp@intel.com/config)
compiler: csky-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=bea7055d9a9a982090f391a7d7f2d8a02401b465
git remote add arm-integrator https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
git fetch --no-tags arm-integrator kernel-in-vmalloc-v6.2-rc3
git checkout bea7055d9a9a982090f391a7d7f2d8a02401b465
# 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=csky olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=csky 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/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:88:26: error: invalid operands to binary << (have 'void *' and 'int')
88 | return __va(pfn) << PAGE_SHIFT;
| ^~
make[2]: *** [scripts/Makefile.build:114: arch/csky/kernel/asm-offsets.s] Error 1
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:1286: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:242: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +88 arch/csky/include/asm/page.h
85
86 static inline void * pfn_to_virt(unsigned long pfn)
87 {
> 88 return __va(pfn) << PAGE_SHIFT;
89 }
90
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-02 10:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-02 10:34 [arm-integrator:kernel-in-vmalloc-v6.2-rc3 10/25] arch/csky/include/asm/page.h:88: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.