Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1250380

[RFC PATCH] bpf: bpf_timer_callback() can be static

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject [RFC PATCH] bpf: bpf_timer_callback() can be static
Date 2015-10-19 08:40 +0200
Message-ID <qlcgW-4Ju-9@gated-at.bofh.it> (permalink)
References <qlcgW-4Ju-7@gated-at.bofh.it> <qlbkS-3mm-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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;
 }
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC PATCH] bpf: Add new bpf map type for timer He Kuang <hekuang@huawei.com> - 2015-10-19 07:40 +0200
  Re: [RFC PATCH] bpf: Add new bpf map type for timer kbuild test robot <lkp@intel.com> - 2015-10-19 08:40 +0200
  [RFC PATCH] bpf: bpf_timer_callback() can be static kbuild test robot <lkp@intel.com> - 2015-10-19 08:40 +0200
  Re: [RFC PATCH] bpf: Add new bpf map type for timer He Kuang <hekuang@huawei.com> - 2015-10-21 12:10 +0200
    Re: [RFC PATCH] bpf: Add new bpf map type for timer Ingo Molnar <mingo@kernel.org> - 2015-10-21 12:30 +0200
      Re: [RFC PATCH] bpf: Add new bpf map type for timer Ingo Molnar <mingo@kernel.org> - 2015-10-21 12:50 +0200
      Re: [RFC PATCH] bpf: Add new bpf map type for timer "Wangnan (F)" <wangnan0@huawei.com> - 2015-10-21 12:50 +0200
    Re: [RFC PATCH] bpf: Add new bpf map type for timer Alexei Starovoitov <ast@plumgrid.com> - 2015-10-21 22:00 +0200

csiph-web