[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <YryIdu0jdTF+fIiW@playground>
Date: Wed, 29 Jun 2022 18:14:30 +0100
From: Jules Irenge <jbi.octave@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii@...nel.org>,
Martin KaFai Lau <kafai@...com>,
Song Liu <songliubraving@...com>, Yonghong Song <yhs@...com>,
John Fastabend <john.fastabend@...il.com>,
KP Singh <kpsingh@...nel.org>, netdev@...r.kernel.org,
bpf@...r.kernel.org
Subject: [PATCH 1/2] btf: Fix required space error
This patch fixes error reported ny Checkpatch at bpf_log()
ERROR: space required after that , ctx:VxV
Signed-off-by: Jules Irenge <jbi.octave@...il.com>
---
kernel/bpf/btf.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/kernel/bpf/btf.c b/kernel/bpf/btf.c
index 2e2066d6af94..1bc496162572 100644
--- a/kernel/bpf/btf.c
+++ b/kernel/bpf/btf.c
@@ -5454,7 +5454,9 @@ bool btf_ctx_access(int off, int size, enum bpf_access_type type,
if (ctx_arg_info->offset == off) {
if (!ctx_arg_info->btf_id) {
- bpf_log(log,"invalid btf_id for context argument offset %u\n", off);
+ bpf_log(log,
+ "invalid btf_id for context argument offset %u\n",
+ off);
return false;
}
--
2.36.1
Powered by blists - more mailing lists