diff mbox series

tags: Fix DEFINE_PER_CPU expansion

Message ID 20181123234816.4519-1-rkovhaev@gmail.com
State Accepted, archived
Delegated to: BPF Maintainers
Headers show
Series tags: Fix DEFINE_PER_CPU expansion | expand

Commit Message

Rustam Kovhaev Nov. 23, 2018, 11:48 p.m. UTC
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 <25528213fe9f75f4>, even though it
violates the usual code style.

Signed-off-by: Rustam Kovhaev <rkovhaev@gmail.com>
---
 kernel/bpf/local_storage.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Daniel Borkmann Nov. 26, 2018, 12:29 a.m. UTC | #1
On 11/24/2018 12:48 AM, Rustam Kovhaev wrote:
> 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 <25528213fe9f75f4>, even though it
> violates the usual code style.
> 
> Signed-off-by: Rustam Kovhaev <rkovhaev@gmail.com>

Applied to bpf-next, thanks!
diff mbox series

Patch

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