Skip to content

Commit cf0dd41

Browse files
rustylifeborkmann
authored andcommitted
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 2552821 ("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>
1 parent 197c2da commit cf0dd41

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

kernel/bpf/local_storage.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
#include <linux/rbtree.h>
88
#include <linux/slab.h>
99

10-
DEFINE_PER_CPU(struct bpf_cgroup_storage*,
11-
bpf_cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE]);
10+
DEFINE_PER_CPU(struct bpf_cgroup_storage*, bpf_cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE]);
1211

1312
#ifdef CONFIG_CGROUP_BPF
1413

0 commit comments

Comments
 (0)