[linux-next:master 4528/5901] kernel/rcu/update.c:319:1: warning: 'no_sanitize' attribute directive ignored

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   445a555e0623387fa9b94e68e61681717e70200a
commit: 2c312f328894df239807173b5b34f1db4cfc397f [4528/5901] ubsan: Reintroduce signed overflow sanitizer
config: um-randconfig-001-20240209 (https://download.01.org/0day-ci/archive/20240209/202402091848.rFySykYW-lkp@xxxxxxxxx/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240209/202402091848.rFySykYW-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402091848.rFySykYW-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> kernel/rcu/update.c:319:1: warning: 'no_sanitize' attribute directive ignored [-Wattributes]
    {
    ^
--
>> kernel/locking/lockdep.c:883:1: warning: 'no_sanitize' attribute directive ignored [-Wattributes]
    {
    ^
   kernel/locking/lockdep.c:4365:1: warning: 'no_sanitize' attribute directive ignored [-Wattributes]
    {
    ^
   kernel/locking/lockdep.c:4432:1: warning: 'no_sanitize' attribute directive ignored [-Wattributes]
    {
    ^
   kernel/locking/lockdep.c:5199:1: warning: 'no_sanitize' attribute directive ignored [-Wattributes]
    {
    ^
   kernel/locking/lockdep.c:5585:1: warning: 'no_sanitize' attribute directive ignored [-Wattributes]
    {
    ^
   kernel/locking/lockdep.c:5810:1: warning: 'no_sanitize' attribute directive ignored [-Wattributes]
    {
    ^
--
>> kernel/locking/irqflag-debug.c:8:1: warning: 'no_sanitize' attribute directive ignored [-Wattributes]
    {
    ^
--
>> kernel/time/timekeeping.c:1045:1: warning: 'no_sanitize' attribute directive ignored [-Wattributes]
    {
    ^
--
   In file included from kernel/sched/build_policy.c:43:0:
>> kernel/sched/idle.c:53:1: warning: 'no_sanitize' attribute directive ignored [-Wattributes]
    {
    ^
   kernel/sched/idle.c:90:1: warning: 'no_sanitize' attribute directive ignored [-Wattributes]
    {
    ^


vim +/no_sanitize +319 kernel/rcu/update.c

24ef659a857c3c kernel/rcu/update.c Paul E. McKenney 2013-10-28  317  
ff5c4f5cad3306 kernel/rcu/update.c Thomas Gleixner  2020-03-13  318  noinstr int notrace debug_lockdep_rcu_enabled(void)
bc293d62b26ec5 kernel/rcupdate.c   Paul E. McKenney 2010-04-15 @319  {
3066820034b5dd kernel/rcu/update.c Paul E. McKenney 2021-04-05  320  	return rcu_scheduler_active != RCU_SCHEDULER_INACTIVE && READ_ONCE(debug_locks) &&
bc293d62b26ec5 kernel/rcupdate.c   Paul E. McKenney 2010-04-15  321  	       current->lockdep_recursion == 0;
bc293d62b26ec5 kernel/rcupdate.c   Paul E. McKenney 2010-04-15  322  }
bc293d62b26ec5 kernel/rcupdate.c   Paul E. McKenney 2010-04-15  323  EXPORT_SYMBOL_GPL(debug_lockdep_rcu_enabled);
bc293d62b26ec5 kernel/rcupdate.c   Paul E. McKenney 2010-04-15  324  

:::::: The code at line 319 was first introduced by commit
:::::: bc293d62b26ec590afc90a9e0a31c45d355b7bd8 rcu: Make RCU lockdep check the lockdep_recursion variable

:::::: TO: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
:::::: CC: Ingo Molnar <mingo@xxxxxxx>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux