Messages in this thread | | | Date | Tue, 12 Oct 2021 02:27:56 +0800 | From | kernel test robot <> | Subject | [mark:arm64/uaccess/rework 10/19] arch/arm64/mm/extable.c:40:6: warning: no previous prototype for function 'ex_handler_fixup' |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git arm64/uaccess/rework head: 692de878f919de31942d0d28571b5e6f32c7135e commit: a164173cfda0db892be6683fce0689f7db6388e2 [10/19] arm64: add basic extable fixup handler config: arm64-randconfig-r033-20211011 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project f95d9c95bbf4cf662b9a181245fc6dcede39f590) 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 # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/commit/?id=a164173cfda0db892be6683fce0689f7db6388e2 git remote add mark https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git git fetch --no-tags mark arm64/uaccess/rework git checkout a164173cfda0db892be6683fce0689f7db6388e2 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm64
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> arch/arm64/mm/extable.c:40:6: warning: no previous prototype for function 'ex_handler_fixup' [-Wmissing-prototypes] bool ex_handler_fixup(const struct exception_table_entry *ex, ^ arch/arm64/mm/extable.c:40:1: note: declare 'static' if the function is not intended to be used outside of this translation unit bool ex_handler_fixup(const struct exception_table_entry *ex, ^ static 1 warning generated.
vim +/ex_handler_fixup +40 arch/arm64/mm/extable.c
39 > 40 bool ex_handler_fixup(const struct exception_table_entry *ex,
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [unhandled content-type:application/gzip] | |