* [arm-integrator:kernel-in-vmalloc-v6.2-rc3-just-ttbr0-split-pointless-c13 16/31] arch/openrisc/include/asm/page.h:82:26: error: invalid operands to binary << (have 'void *' and 'int')
@ 2023-03-14 11:48 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-03-14 11:48 UTC (permalink / raw)
To: Linus Walleij; +Cc: oe-kbuild-all
Hi Linus,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git kernel-in-vmalloc-v6.2-rc3-just-ttbr0-split-pointless-c13
head: 961fd7e75191ae82383f80c1dfd97559f14965b8
commit: 75984ecc1bee531256344b9ac1ff5639a2762bba [16/31] openrisc: Make pfn accessors statics inlines
config: openrisc-randconfig-r026-20230312 (https://download.01.org/0day-ci/archive/20230314/202303141917.wUepTMhy-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=75984ecc1bee531256344b9ac1ff5639a2762bba
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-just-ttbr0-split-pointless-c13
git checkout 75984ecc1bee531256344b9ac1ff5639a2762bba
# 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 olddefconfig
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>
| Link: https://lore.kernel.org/oe-kbuild-all/202303141917.wUepTMhy-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:114: arch/openrisc/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 +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://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-14 11:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-14 11:48 [arm-integrator:kernel-in-vmalloc-v6.2-rc3-just-ttbr0-split-pointless-c13 16/31] 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;
as well as URLs for NNTP newsgroup(s).