mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [kees:fix/wchan/leaky 5/6] arch/x86/kernel/process.c:952:2: error: implicit declaration of function 'stack_trace_save_tsk'
@ 2021-11-09 22:16 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-09 22:16 UTC (permalink / raw)
  To: Qi Zheng; +Cc: kbuild-all, linux-kernel, Kees Cook

[-- Attachment #1: Type: text/plain, Size: 1964 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git fix/wchan/leaky
head:   62ba17f8f461578402c62e7cc2318443a262cc3b
commit: 26a28d75580ddecc5d085def97bbd76c4f60f0a3 [5/6] x86: Fix get_wchan() to support the ORC unwinder
config: x86_64-alldefconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/commit/?id=26a28d75580ddecc5d085def97bbd76c4f60f0a3
        git remote add kees https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git
        git fetch --no-tags kees fix/wchan/leaky
        git checkout 26a28d75580ddecc5d085def97bbd76c4f60f0a3
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

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/x86/kernel/process.c: In function 'get_wchan':
>> arch/x86/kernel/process.c:952:2: error: implicit declaration of function 'stack_trace_save_tsk' [-Werror=implicit-function-declaration]
     952 |  stack_trace_save_tsk(p, &entry, 1, 0);
         |  ^~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/stack_trace_save_tsk +952 arch/x86/kernel/process.c

   938	
   939	/*
   940	 * Called from fs/proc with a reference on @p to find the function
   941	 * which called into schedule(). This needs to be done carefully
   942	 * because the task might wake up and we might look at a stack
   943	 * changing under us.
   944	 */
   945	unsigned long get_wchan(struct task_struct *p)
   946	{
   947		unsigned long entry = 0;
   948	
   949		if (p == current || task_is_running(p))
   950			return 0;
   951	
 > 952		stack_trace_save_tsk(p, &entry, 1, 0);
   953		return entry;
   954	}
   955	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 16730 bytes --]

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

only message in thread, other threads:[~2021-11-09 22:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-09 22:16 [kees:fix/wchan/leaky 5/6] arch/x86/kernel/process.c:952:2: error: implicit declaration of function 'stack_trace_save_tsk' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®