bpf, tags: Fix DEFINE_PER_CPU expansion
authorRustam Kovhaev <rkovhaev@gmail.com>
Fri, 23 Nov 2018 23:48:16 +0000 (15:48 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 26 Nov 2018 00:21:39 +0000 (01:21 +0100)
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>
kernel/bpf/local_storage.c

index c97a8f968638c6da0c2ec32c591753f69af59e15..9e94b1cc6cf23a9949f4c43a316e24a620bf5517 100644 (file)
@@ -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