summaryrefslogtreecommitdiffstats
path: root/kernel/bpf/local_storage.c
diff options
context:
space:
mode:
authorRustam Kovhaev <rkovhaev@gmail.com>2018-11-23 15:48:16 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2018-11-26 01:21:39 +0100
commitcf0dd411e80f7066cabf69899724e48dd3192b99 (patch)
tree0c23ff99e49ab9e238812d5dd15140e028d54e68 /kernel/bpf/local_storage.c
parent197c2dac74e4ae3158ad10f848c5402236d6b176 (diff)
downloadblackbird-op-linux-cf0dd411e80f7066cabf69899724e48dd3192b99.tar.gz
blackbird-op-linux-cf0dd411e80f7066cabf69899724e48dd3192b99.zip
bpf, tags: Fix DEFINE_PER_CPU expansion
Building tags produces warning: ctags: Warning: kernel/bpf/local_storage.c:10: null expansion of name pattern "\1" Let's use the same fix as in commit 25528213fe9f ("tags: Fix DEFINE_PER_CPU expansions"), even though it violates the usual code style. Signed-off-by: Rustam Kovhaev <rkovhaev@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'kernel/bpf/local_storage.c')
-rw-r--r--kernel/bpf/local_storage.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/bpf/local_storage.c b/kernel/bpf/local_storage.c
index c97a8f968638..9e94b1cc6cf2 100644
--- a/kernel/bpf/local_storage.c
+++ b/kernel/bpf/local_storage.c
@@ -7,8 +7,7 @@
#include <linux/rbtree.h>
#include <linux/slab.h>
-DEFINE_PER_CPU(struct bpf_cgroup_storage*,
- bpf_cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE]);
+DEFINE_PER_CPU(struct bpf_cgroup_storage*, bpf_cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE]);
#ifdef CONFIG_CGROUP_BPF
OpenPOWER on IntegriCloud