From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [RFC PATCH] bpf: __pcpu_scope_irq_work can be static Date: Wed, 2 May 2018 11:34:25 +0800 Message-ID: <20180502033425.GA96582@lkp-sb-ep06> References: <20180502000220.2585320-1-songliubraving@fb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kbuild-all@01.org, netdev@vger.kernel.org, Song Liu , kernel-team@fb.com, Alexei Starovoitov , Daniel Borkmann , Peter Zijlstra To: Song Liu Return-path: Received: from mga02.intel.com ([134.134.136.20]:12752 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751181AbeEBDe6 (ORCPT ); Tue, 1 May 2018 23:34:58 -0400 Content-Disposition: inline In-Reply-To: <20180502000220.2585320-1-songliubraving@fb.com> Sender: netdev-owner@vger.kernel.org List-ID: Fixes: 1bd02fb7c12e ("bpf: enable stackmap with build_id in nmi context") Signed-off-by: Fengguang Wu --- stackmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/bpf/stackmap.c b/kernel/bpf/stackmap.c index c33fec1..5d0a951 100644 --- a/kernel/bpf/stackmap.c +++ b/kernel/bpf/stackmap.c @@ -48,7 +48,7 @@ static void up_read_work(struct irq_work *entry) work->sem = NULL; } -DEFINE_PER_CPU(struct stack_map_irq_work, irq_work); +static DEFINE_PER_CPU(struct stack_map_irq_work, irq_work); static inline bool stack_map_use_build_id(struct bpf_map *map) {