Content-Type: multipart/mixed; boundary="===============2610966677353293101==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH v7 6/7] kallsyms: add /proc/kallmodsyms Date: Sat, 18 Dec 2021 01:00:14 +0800 Message-ID: <202112180057.UZKXPkGe-lkp@intel.com> In-Reply-To: <20211216201919.234994-7-nick.alcock@oracle.com> List-Id: --===============2610966677353293101== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Nick, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linux/master] [also build test WARNING on linus/master v5.16-rc5] [cannot apply to masahiroy/kconfig jeyu/modules-next next-20211217] [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] url: https://github.com/0day-ci/linux/commits/Nick-Alcock/kbuild-bring-b= ack-tristate-conf/20211217-051935 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git = 136057256686de39cc3a07c2e39ef6bc43003ff6 config: arm-randconfig-r032-20211216 (https://download.01.org/0day-ci/archi= ve/20211218/202112180057.UZKXPkGe-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dd245b= ab9fbb364faa1581e4f92ba3119a872fba) reproduce (this is a W=3D1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://github.com/0day-ci/linux/commit/4487902c03d7f7e83c68807ab= 24d62c467338795 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Nick-Alcock/kbuild-bring-back-tris= tate-conf/20211217-051935 git checkout 4487902c03d7f7e83c68807ab24d62c467338795 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Darm SHELL=3D/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): kernel/kallsyms.c:665:12: warning: no previous prototype for function 'a= rch_get_kallsym' [-Wmissing-prototypes] int __weak arch_get_kallsym(unsigned int symnum, unsigned long *value, ^ kernel/kallsyms.c:665:1: note: declare 'static' if the function is not i= ntended to be used outside of this translation unit int __weak arch_get_kallsym(unsigned int symnum, unsigned long *value, ^ static = kernel/kallsyms.c:1074:30: warning: unused variable 'kallsyms_proc_ops' = [-Wunused-const-variable] static const struct proc_ops kallsyms_proc_ops =3D { ^ >> kernel/kallsyms.c:1082:30: warning: unused variable 'kallmodsyms_proc_op= s' [-Wunused-const-variable] static const struct proc_ops kallmodsyms_proc_ops =3D { ^ 3 warnings generated. vim +/kallmodsyms_proc_ops +1082 kernel/kallsyms.c 1080 = 1081 #ifdef CONFIG_KALLMODSYMS > 1082 static const struct proc_ops kallmodsyms_proc_ops =3D { 1083 .proc_open =3D kallmodsyms_open, 1084 .proc_read =3D seq_read, 1085 .proc_lseek =3D seq_lseek, 1086 .proc_release =3D seq_release_private, 1087 }; 1088 #endif 1089 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============2610966677353293101==--