lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 7 Dec 2017 04:32:17 +0800
From:   kbuild test robot <fengguang.wu@...el.com>
To:     "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org
Subject: [rcu:rcu/dev 25/25] kernel/sched/core.c:5684:2: note: in expansion
 of macro 'timers_dead_cpu'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/dev
head:   dab0b22dfc3bd3ed37876b2465dc622a39ae25e0
commit: dab0b22dfc3bd3ed37876b2465dc622a39ae25e0 [25/25] EXP: timer: Repeat timers_dead_cpu() in sched_cpu_deactivate()
config: x86_64-randconfig-x003-201749 (attached as .config)
compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
reproduce:
        git checkout dab0b22dfc3bd3ed37876b2465dc622a39ae25e0
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   In file included from include/uapi/linux/posix_types.h:5:0,
                    from include/uapi/linux/types.h:14,
                    from include/linux/compiler.h:164,
                    from arch/x86/include/asm/current.h:5,
                    from include/linux/sched.h:12,
                    from kernel/sched/core.c:8:
   kernel/sched/core.c: In function 'sched_cpu_deactivate':
>> include/linux/stddef.h:8:14: error: called object is not a function or function pointer
    #define NULL ((void *)0)
                 ^
>> include/linux/timer.h:212:25: note: in expansion of macro 'NULL'
    #define timers_dead_cpu NULL
                            ^~~~
>> kernel/sched/core.c:5684:2: note: in expansion of macro 'timers_dead_cpu'
     timers_dead_cpu(cpu);
     ^~~~~~~~~~~~~~~
--
   In file included from include/uapi/linux/posix_types.h:5:0,
                    from include/uapi/linux/types.h:14,
                    from include/linux/compiler.h:164,
                    from arch/x86/include/asm/current.h:5,
                    from include/linux/sched.h:12,
                    from kernel//sched/core.c:8:
   kernel//sched/core.c: In function 'sched_cpu_deactivate':
>> include/linux/stddef.h:8:14: error: called object is not a function or function pointer
    #define NULL ((void *)0)
                 ^
>> include/linux/timer.h:212:25: note: in expansion of macro 'NULL'
    #define timers_dead_cpu NULL
                            ^~~~
   kernel//sched/core.c:5684:2: note: in expansion of macro 'timers_dead_cpu'
     timers_dead_cpu(cpu);
     ^~~~~~~~~~~~~~~

vim +/timers_dead_cpu +5684 kernel/sched/core.c

  5678	
  5679	int sched_cpu_deactivate(unsigned int cpu)
  5680	{
  5681		int ret;
  5682	
  5683		set_cpu_active(cpu, false);
> 5684		timers_dead_cpu(cpu);
  5685		/*
  5686		 * We've cleared cpu_active_mask, wait for all preempt-disabled and RCU
  5687		 * users of this state to go away such that all new such users will
  5688		 * observe it.
  5689		 *
  5690		 * Do sync before park smpboot threads to take care the rcu boost case.
  5691		 */
  5692		synchronize_rcu_mult(call_rcu, call_rcu_sched);
  5693	
  5694		if (!sched_smp_initialized)
  5695			return 0;
  5696	
  5697		ret = cpuset_cpu_inactive(cpu);
  5698		if (ret) {
  5699			set_cpu_active(cpu, true);
  5700			return ret;
  5701		}
  5702		sched_domains_numa_masks_clear(cpu);
  5703		return 0;
  5704	}
  5705	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (30740 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ