* [arm-integrator:kernel-in-vmalloc-v5.18-rc1 19/31] arch/csky/include/asm/page.h:39:16: error: implicit declaration of function '__pa'
@ 2022-06-02 11:37 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-06-02 11:37 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 kernel-in-vmalloc-v5.18-rc1
head: 9083f89a58302e92fad7f144986e307db2350aad
commit: bf753d367129134a4bea8e187e07645e88cb22f4 [19/31] csky: Make virt_to_pfn() a static inline
config: csky-defconfig (https://download.01.org/0day-ci/archive/20220602/202206021943.r7Mh4R1H-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 11.3.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=bf753d367129134a4bea8e187e07645e88cb22f4
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-v5.18-rc1
git checkout bf753d367129134a4bea8e187e07645e88cb22f4
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.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 'virt_to_pfn':
>> arch/csky/include/asm/page.h:39:16: error: implicit declaration of function '__pa' [-Werror=implicit-function-declaration]
39 | return __pa(kaddr) >> PAGE_SHIFT;
| ^~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:120: arch/csky/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1194: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:219: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +/__pa +39 arch/csky/include/asm/page.h
36
37 static inline unsigned long virt_to_pfn(const void *kaddr)
38 {
> 39 return __pa(kaddr) >> PAGE_SHIFT;
40 }
41
--
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-06-02 11:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-02 11:37 [arm-integrator:kernel-in-vmalloc-v5.18-rc1 19/31] arch/csky/include/asm/page.h:39:16: error: implicit declaration of function '__pa' 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®