[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202110080237.eP8v2X93-lkp@intel.com>
Date: Fri, 8 Oct 2021 02:24:41 +0800
From: kernel test robot <lkp@...el.com>
To: Mark Rutland <mark.rutland@....com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: [mark:arm64/exception-fixups/rework 5/7]
arch/arm64/mm/extable.c:34:6: warning: no previous prototype for function
'ex_handler_fixup'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git arm64/exception-fixups/rework
head: 90950d59d23861b2a34852cf080a452990ad9015
commit: bb83c16746f234980c3865b8e7e5eb162a8fc8e2 [5/7] arm64: add basic extable fixup handler
config: arm64-randconfig-r001-20211004 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 58b68e70ebf6308f982426a2618782f473218eed)
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=bb83c16746f234980c3865b8e7e5eb162a8fc8e2
git remote add mark https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
git fetch --no-tags mark arm64/exception-fixups/rework
git checkout bb83c16746f234980c3865b8e7e5eb162a8fc8e2
# 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@...el.com>
All warnings (new ones prefixed by >>):
>> arch/arm64/mm/extable.c:34:6: warning: no previous prototype for function 'ex_handler_fixup' [-Wmissing-prototypes]
bool ex_handler_fixup(const struct exception_table_entry *fixup,
^
arch/arm64/mm/extable.c:34: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 *fixup,
^
static
1 warning generated.
vim +/ex_handler_fixup +34 arch/arm64/mm/extable.c
33
> 34 bool ex_handler_fixup(const struct exception_table_entry *fixup,
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (36852 bytes)
Powered by blists - more mailing lists