All of lore.kernel.org
 help / color / mirror / Atom feed
* [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'?
@ 2022-04-20  9:57 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-20  9:57 UTC (permalink / raw)
  To: Mark Rutland; +Cc: kbuild-all, linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-20  9:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-20  9:57 [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'? kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.