mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org
Subject: [rcu:rcu/dev 25/25] kernel/sched/core.c:5684:2: note: in expansion of macro 'timers_dead_cpu'
Date: Thu, 7 Dec 2017 04:32:17 +0800	[thread overview]
Message-ID: <201712070453.EkEx3wWb%fengguang.wu@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3148 bytes --]

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

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

                 reply	other threads:[~2017-12-06 20:32 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=201712070453.EkEx3wWb%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulmck@linux.vnet.ibm.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®