The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: He Kuang <hekuang@huawei.com>
Cc: kbuild-all@01.org, ast@kernel.org, davem@davemloft.net,
	daniel@iogearbox.net, mingo@kernel.org, rostedt@goodmis.org,
	xiakaixu@huawei.com, wangnan0@huawei.com, hekuang@huawei.com,
	linux-kernel@vger.kernel.org
Subject: [RFC PATCH] bpf: bpf_timer_callback() can be static
Date: Mon, 19 Oct 2015 14:30:55 +0800	[thread overview]
Message-ID: <20151019063055.GA167550@lkp-ib03> (raw)
In-Reply-To: <1445232889-155696-1-git-send-email-hekuang@huawei.com>


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

diff --git a/kernel/bpf/arraymap.c b/kernel/bpf/arraymap.c
index 1e03c70..dbdad0c 100644
--- a/kernel/bpf/arraymap.c
+++ b/kernel/bpf/arraymap.c
@@ -338,7 +338,7 @@ static int __init register_perf_event_array_map(void)
 late_initcall(register_perf_event_array_map);
 
 /* Intended empty function as ebpf stub */
-enum hrtimer_restart bpf_timer_callback(struct hrtimer *timer __maybe_unused)
+static enum hrtimer_restart bpf_timer_callback(struct hrtimer *timer __maybe_unused)
 {
 	return HRTIMER_NORESTART;
 }

  parent reply	other threads:[~2015-10-19  6:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-19  5:34 [RFC PATCH] bpf: Add new bpf map type for timer He Kuang
2015-10-19  6:30 ` kbuild test robot
2015-10-19  6:30 ` kbuild test robot [this message]
2015-10-21 10:02 ` He Kuang
2015-10-21 10:20   ` Ingo Molnar
2015-10-21 10:38     ` Wangnan (F)
2015-10-21 10:47       ` Ingo Molnar
2015-10-21 19:53   ` Alexei Starovoitov

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=20151019063055.GA167550@lkp-ib03 \
    --to=lkp@intel.com \
    --cc=ast@kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=hekuang@huawei.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=wangnan0@huawei.com \
    --cc=xiakaixu@huawei.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