[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202202242326.94v18Tal-lkp@intel.com>
Date: Fri, 25 Feb 2022 00:01:56 +0800
From: kernel test robot <lkp@...el.com>
To: Guo Ren <guoren@...ux.alibaba.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Palmer Dabbelt <palmer@...osinc.com>
Subject: [csky-linux:riscv_compat_v6 17/20] arch/riscv/kernel/vdso.c:221:22:
error: 'compat_vdso_info' undeclared; did you mean 'compat_sysinfo'?
tree: https://github.com/c-sky/csky-linux riscv_compat_v6
head: 4aafa1859382d5a159bdafe2956453feafd38845
commit: 77ed3d205a86f67815d8d074ff26e73ac1905772 [17/20] riscv: compat: vdso: Add setup additional pages implementation
config: riscv-buildonly-randconfig-r006-20220224 (https://download.01.org/0day-ci/archive/20220224/202202242326.94v18Tal-lkp@intel.com/config)
compiler: riscv32-linux-gcc (GCC) 11.2.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://github.com/c-sky/csky-linux/commit/77ed3d205a86f67815d8d074ff26e73ac1905772
git remote add csky-linux https://github.com/c-sky/csky-linux
git fetch --no-tags csky-linux riscv_compat_v6
git checkout 77ed3d205a86f67815d8d074ff26e73ac1905772
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=riscv SHELL=/bin/bash arch/riscv/kernel/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
arch/riscv/kernel/vdso.c: In function 'vdso_init':
>> arch/riscv/kernel/vdso.c:221:22: error: 'compat_vdso_info' undeclared (first use in this function); did you mean 'compat_sysinfo'?
221 | __vdso_init(&compat_vdso_info);
| ^~~~~~~~~~~~~~~~
| compat_sysinfo
arch/riscv/kernel/vdso.c:221:22: note: each undeclared identifier is reported only once for each function it appears in
vim +221 arch/riscv/kernel/vdso.c
217
218 static int __init vdso_init(void)
219 {
220 __vdso_init(&vdso_info);
> 221 __vdso_init(&compat_vdso_info);
222
223 return 0;
224 }
225 arch_initcall(vdso_init);
226
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists