* [arm-integrator:virt-to-pfn-v6.2-rc3 12/20] arch/m68k/include/asm/page_no.h:30:26: error: invalid operands to binary << (have 'void *' and 'int')
@ 2023-02-08 12:16 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-02-08 12:16 UTC (permalink / raw)
To: Linus Walleij; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git virt-to-pfn-v6.2-rc3
head: e7b124e682b6f0adf09d2bb405e70bee2024175f
commit: 246a4c87fbded16b1202eac820589fbf249f129f [12/20] m68k/mm: Make pfn accessors static inlines
config: m68k-randconfig-r035-20230204 (https://download.01.org/0day-ci/archive/20230208/202302082037.45I7Wat6-lkp@intel.com/config)
compiler: m68k-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=246a4c87fbded16b1202eac820589fbf249f129f
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.2-rc3
git checkout 246a4c87fbded16b1202eac820589fbf249f129f
# 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=m68k olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k 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/m68k/include/asm/page.h:62,
from arch/m68k/include/asm/thread_info.h:6,
from include/linux/thread_info.h:60,
from arch/m68k/include/asm/current.h:16,
from include/linux/sched.h:12,
from arch/m68k/kernel/asm-offsets.c:15:
arch/m68k/include/asm/page_no.h: In function 'pfn_to_virt':
>> arch/m68k/include/asm/page_no.h:30:26: error: invalid operands to binary << (have 'void *' and 'int')
30 | return __va(pfn) << PAGE_SHIFT;
| ^~
make[2]: *** [scripts/Makefile.build:114: arch/m68k/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 +30 arch/m68k/include/asm/page_no.h
27
28 static inline void * pfn_to_virt(unsigned long pfn)
29 {
> 30 return __va(pfn) << PAGE_SHIFT;
31 }
32
--
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-08 12:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-08 12:16 [arm-integrator:virt-to-pfn-v6.2-rc3 12/20] arch/m68k/include/asm/page_no.h:30: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.