[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202204201732.3XJvzeVZ-lkp@intel.com>
Date: Wed, 20 Apr 2022 17:57:49 +0800
From: kernel test robot <lkp@...el.com>
To: Mark Rutland <mark.rutland@....com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [mark:stackleak/rework 7/7] arch/arm64/kernel/entry-common.c:273:13:
error: implicit declaration of function 'on_thread_stack'; did you mean
'on_task_stack'?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git stackleak/rework
head: 3ff9898bf29634c068fe32a93656ca6685cad126
commit: 3ff9898bf29634c068fe32a93656ca6685cad126 [7/7] arm64: remove unused stackleak helpers
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220420/202204201732.3XJvzeVZ-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
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://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/commit/?id=3ff9898bf29634c068fe32a93656ca6685cad126
git remote add mark https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
git fetch --no-tags mark stackleak/rework
git checkout 3ff9898bf29634c068fe32a93656ca6685cad126
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
arch/arm64/kernel/entry-common.c: In function 'do_interrupt_handler':
>> arch/arm64/kernel/entry-common.c:273:13: error: implicit declaration of function 'on_thread_stack'; did you mean 'on_task_stack'? [-Werror=implicit-function-declaration]
273 | if (on_thread_stack())
| ^~~~~~~~~~~~~~~
| on_task_stack
cc1: some warnings being treated as errors
vim +273 arch/arm64/kernel/entry-common.c
33a3581a76f3a3 Mark Rutland 2021-06-07 267
064dbfb4169141 Mark Rutland 2021-06-07 268 static void do_interrupt_handler(struct pt_regs *regs,
064dbfb4169141 Mark Rutland 2021-06-07 269 void (*handler)(struct pt_regs *))
064dbfb4169141 Mark Rutland 2021-06-07 270 {
26dc129342cfc1 Mark Rutland 2021-10-19 271 struct pt_regs *old_regs = set_irq_regs(regs);
26dc129342cfc1 Mark Rutland 2021-10-19 272
064dbfb4169141 Mark Rutland 2021-06-07 @273 if (on_thread_stack())
064dbfb4169141 Mark Rutland 2021-06-07 274 call_on_irq_stack(regs, handler);
064dbfb4169141 Mark Rutland 2021-06-07 275 else
064dbfb4169141 Mark Rutland 2021-06-07 276 handler(regs);
26dc129342cfc1 Mark Rutland 2021-10-19 277
26dc129342cfc1 Mark Rutland 2021-10-19 278 set_irq_regs(old_regs);
064dbfb4169141 Mark Rutland 2021-06-07 279 }
064dbfb4169141 Mark Rutland 2021-06-07 280
:::::: The code at line 273 was first introduced by commit
:::::: 064dbfb4169141943ec7d9dbfd02974dd008f2ce arm64: entry: convert IRQ+FIQ handlers to C
:::::: TO: Mark Rutland <mark.rutland@....com>
:::::: CC: Will Deacon <will@...nel.org>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists