From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [dynticks:timers/urgent-v2 2/7] kernel/signal.c:1443:6: error: redefinition of 'lockdep_assert_task_sighand_held'
Date: Wed, 23 Jun 2021 10:43:18 +0800 [thread overview]
Message-ID: <202106231012.0EOwFrZ1-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2497 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git timers/urgent-v2
head: 9cc6f1cc0e96053d709dd05b64ba5796a5b13664
commit: 11dfbcfa6f6a68fe394f3eeecb9c4b6dad855777 [2/7] posix-cpu-timers: Assert task sighand is locked while starting cputime counter
config: m68k-randconfig-s031-20210622 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git/commit/?id=11dfbcfa6f6a68fe394f3eeecb9c4b6dad855777
git remote add dynticks https://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
git fetch --no-tags dynticks timers/urgent-v2
git checkout 11dfbcfa6f6a68fe394f3eeecb9c4b6dad855777
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=m68k
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/signal.c:1443:6: error: redefinition of 'lockdep_assert_task_sighand_held'
1443 | void lockdep_assert_task_sighand_held(struct task_struct *task)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/sched/cputime.h:5,
from kernel/signal.c:22:
include/linux/sched/signal.h:715:20: note: previous definition of 'lockdep_assert_task_sighand_held' was here
715 | static inline void lockdep_assert_task_sighand_held(struct task_struct *task) { }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/lockdep_assert_task_sighand_held +1443 kernel/signal.c
1442
> 1443 void lockdep_assert_task_sighand_held(struct task_struct *task)
1444 {
1445 struct sighand_struct *sighand;
1446
1447 rcu_read_lock();
1448 sighand = rcu_dereference(task->sighand);
1449 if (sighand)
1450 lockdep_assert_held(&sighand->siglock);
1451 else
1452 WARN_ON_ONCE(1);
1453 rcu_read_unlock();
1454 }
1455
---
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: 39969 bytes --]
reply other threads:[~2021-06-23 2:43 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=202106231012.0EOwFrZ1-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.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.