* [dynticks:timers/urgent-v2 2/7] kernel/signal.c:1443:6: error: redefinition of 'lockdep_assert_task_sighand_held'
@ 2021-06-23 2:43 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-23 2:43 UTC (permalink / raw)
To: kbuild-all
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-23 2:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-23 2:43 [dynticks:timers/urgent-v2 2/7] kernel/signal.c:1443:6: error: redefinition of 'lockdep_assert_task_sighand_held' 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.