From: kernel test robot <lkp@intel.com>
To: Mark Rutland <mark.rutland@arm.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.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'?
Date: Wed, 20 Apr 2022 17:57:49 +0800 [thread overview]
Message-ID: <202204201732.3XJvzeVZ-lkp@intel.com> (raw)
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@intel.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@arm.com>
:::::: CC: Will Deacon <will@kernel.org>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-04-20 9:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202204201732.3XJvzeVZ-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome