tree:
https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git arm64/entry/rework
head: c7071810c4aa3f59ecec504f7661d6cb8bb9b94f
commit: 2385fe70b3e6e547015c0d144ace14505d573a75 [11/16] arm64: entry: convert SError
handlers to C
config: arm64-randconfig-r026-20210311 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
574a9dabc63ba1e7a04c08d4bde2eacd61b44ce1)
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...
git remote add mark-rutland
https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
git fetch --no-tags mark-rutland arm64/entry/rework
git checkout 2385fe70b3e6e547015c0d144ace14505d573a75
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> arch/arm64/kernel/entry-common.c:286:25: warning: no previous
prototype for function 'el1_error_handler' [-Wmissing-prototypes]
asmlinkage void noinstr el1_error_handler(struct pt_regs *regs)
^
arch/arm64/kernel/entry-common.c:286:12: note: declare 'static' if the function
is not intended to be used outside of this translation unit
asmlinkage void noinstr el1_error_handler(struct pt_regs *regs)
^
static
> arch/arm64/kernel/entry-common.c:490:25: warning: no previous
prototype for function 'el0_error_handler' [-Wmissing-prototypes]
asmlinkage void noinstr el0_error_handler(struct pt_regs *regs)
^
arch/arm64/kernel/entry-common.c:490:12: note: declare 'static' if the function
is not intended to be used outside of this translation unit
asmlinkage void noinstr el0_error_handler(struct pt_regs *regs)
^
static
2 warnings generated.
vim +/el1_error_handler +286 arch/arm64/kernel/entry-common.c
285
286 asmlinkage void noinstr el1_error_handler(struct pt_regs *regs)
287 {
288 unsigned long esr = read_sysreg(esr_el1);
289
290 if (system_uses_irq_prio_masking())
291 gic_write_pmr(GIC_PRIO_IRQON | GIC_PRIO_PSR_I_SET);
292
293 local_daif_restore(DAIF_ERRCTX);
294 do_serror(regs, esr);
295 }
296
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org