All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org
Subject: [peterz-queue:sched/wip-freezer 4/6] kernel/ptrace.c:69:35: error: use of undeclared identifier 'task'
Date: Thu, 7 Oct 2021 16:53:46 +0800	[thread overview]
Message-ID: <202110071642.moIMcv6P-lkp@intel.com> (raw)

[-- 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 --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [peterz-queue:sched/wip-freezer 4/6] kernel/ptrace.c:69:35: error: use of undeclared identifier 'task'
Date: Thu, 07 Oct 2021 16:53:46 +0800	[thread overview]
Message-ID: <202110071642.moIMcv6P-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1942 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(a)lists.01.org

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

             reply	other threads:[~2021-10-07  8:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-07  8:53 kernel test robot [this message]
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

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=202110071642.moIMcv6P-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=peterz@infradead.org \
    /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 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.