[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151019063055.GA167550@lkp-ib03>
Date: Mon, 19 Oct 2015 14:30:55 +0800
From: kbuild test robot <lkp@...el.com>
To: He Kuang <hekuang@...wei.com>
Cc: kbuild-all@...org, ast@...nel.org, davem@...emloft.net,
daniel@...earbox.net, mingo@...nel.org, rostedt@...dmis.org,
xiakaixu@...wei.com, wangnan0@...wei.com, hekuang@...wei.com,
linux-kernel@...r.kernel.org
Subject: [RFC PATCH] bpf: bpf_timer_callback() can be static
Signed-off-by: Fengguang Wu <fengguang.wu@...el.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;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists