LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Vincent Guittot <vincent.guittot@linaro.org>
Cc: kbuild-all@01.org, Ingo Molnar <mingo@redhat.com>,
	Peter Zijlstra <peterz@infradead.org>,
	linux-kernel@vger.kernel.org
Subject: [PATCH clk] sched: __pcpu_scope_sd_pack_buddy can be static
Date: Sat, 24 Jan 2015 10:44:57 +0800	[thread overview]
Message-ID: <20150124024457.GA23470@snb> (raw)
In-Reply-To: <201501241041.Cc4XnwuN%fengguang.wu@intel.com>

kernel/sched/fair.c:199:1: sparse: symbol '__pcpu_scope_sd_pack_buddy' was not declared. Should it be static?

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 fair.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index d48d07c..7d8d5c4 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -196,7 +196,7 @@ struct sd_pack {
  * Save per_cpu information about the optimal CPUs that should be used to pack
  * tasks.
  */
-DEFINE_PER_CPU(struct sd_pack, sd_pack_buddy)  = {
+static DEFINE_PER_CPU(struct sd_pack, sd_pack_buddy)  = {
 	.packing = true,
 };
 

      reply	other threads:[~2015-01-24  2:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-24  2:44 [clk:test-sched-packing-tasks-freq 10820/10847] kernel/sched/fair.c:199:1: sparse: symbol '__pcpu_scope_sd_pack_buddy' was not declared. Should it be static? kbuild test robot
2015-01-24  2:44 ` kbuild test robot [this message]

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=20150124024457.GA23470@snb \
    --to=fengguang.wu@intel.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=vincent.guittot@linaro.org \
    --subject='Re: [PATCH clk] sched: __pcpu_scope_sd_pack_buddy can be static' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).