* [peterz-queue:sched/wip-freezer 4/6] kernel/ptrace.c:69:35: error: use of undeclared identifier 'task'
@ 2021-10-07 8:53 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-10-07 8:53 UTC (permalink / raw)
To: Peter Zijlstra; +Cc: llvm, kbuild-all, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1897 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/wip-freezer
head: 0e2f83a04e7aec955e7b3c759564e51e56450b25
commit: a0e4dbb5aa2a5180d38c539a15f49dce51fe39c7 [4/6] ptrace: Track __TASK_TRACED state in p->ptrace
config: hexagon-randconfig-r045-20211007 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 58b68e70ebf6308f982426a2618782f473218eed)
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/peterz/queue.git/commit/?id=a0e4dbb5aa2a5180d38c539a15f49dce51fe39c7
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue sched/wip-freezer
git checkout a0e4dbb5aa2a5180d38c539a15f49dce51fe39c7
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash
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 >>):
>> kernel/ptrace.c:69:35: error: use of undeclared identifier 'task'
lockdep_assert_task_sighand_held(task);
^
1 error generated.
vim +/task +69 kernel/ptrace.c
66
67 void ptrace_signal_wake_up(struct task_struct *t, bool resume)
68 {
> 69 lockdep_assert_task_sighand_held(task);
70
71 if (resume)
72 t->ptrace &= ~PT_STOPPED_MASK;
73 signal_wake_up_state(t, resume ? __TASK_TRACED : 0);
74 }
75
---
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: 25214 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-07 8:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-07 8:53 [peterz-queue:sched/wip-freezer 4/6] kernel/ptrace.c:69:35: error: use of undeclared identifier 'task' 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