Re: [PATCH] kernel/sysctl-test: use SYSCTL_{ZERO/ONE_HUNDRED} instead of i_{zero/one_hundred}

From: kernel test robot
Date: Mon Sep 05 2022 - 15:37:07 EST


Hi Liu,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on kees/for-next/pstore]
[also build test ERROR on linus/master v6.0-rc4 next-20220901]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Liu-Shixin/kernel-sysctl-test-use-SYSCTL_-ZERO-ONE_HUNDRED-instead-of-i_-zero-one_hundred/20220905-201642
base: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/pstore
config: hexagon-randconfig-r045-20220905 (https://download.01.org/0day-ci/archive/20220906/202209060328.fLZUY6st-lkp@xxxxxxxxx/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project c55b41d5199d2394dd6cdb8f52180d8b81d809d4)
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/intel-lab-lkp/linux/commit/798f337855db358192d52c40620c4646856d19bb
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Liu-Shixin/kernel-sysctl-test-use-SYSCTL_-ZERO-ONE_HUNDRED-instead-of-i_-zero-one_hundred/20220905-201642
git checkout 798f337855db358192d52c40620c4646856d19bb
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: sysctl_vals
>>> referenced by sysctl-test.c:69 (kernel/sysctl-test.c:69)
>>> sysctl-test.o:(sysctl_test_api_dointvec_table_maxlen_unset) in archive kernel/built-in.a
>>> referenced by sysctl-test.c:69 (kernel/sysctl-test.c:69)
>>> sysctl-test.o:(sysctl_test_api_dointvec_table_maxlen_unset) in archive kernel/built-in.a
>>> referenced by sysctl-test.c:69 (kernel/sysctl-test.c:69)
>>> sysctl-test.o:(sysctl_test_api_dointvec_table_maxlen_unset) in archive kernel/built-in.a
>>> referenced 35 more times

--
0-DAY CI Kernel Test Service
https://01.org/lkp