summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorRustam Kovhaev <rkovhaev@gmail.com>2018-11-24 00:48:16 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2018-11-26 01:21:39 +0100
commitcf0dd411e80f7066cabf69899724e48dd3192b99 (patch)
tree0c23ff99e49ab9e238812d5dd15140e028d54e68 /kernel
parentbpf: Add BPF_MAP_TYPE_QUEUE and BPF_MAP_TYPE_STACK to bpftool-map (diff)
downloadlinux-cf0dd411e80f7066cabf69899724e48dd3192b99.tar.xz
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')
-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