netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] btf: Fix required space error
@ 2022-06-29 17:14 Jules Irenge
  2022-06-29 19:21 ` Alexei Starovoitov
  0 siblings, 1 reply; 2+ messages in thread
From: Jules Irenge @ 2022-06-29 17:14 UTC (permalink / raw)
  To: linux-kernel
  Cc: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
	Martin KaFai Lau, Song Liu, Yonghong Song, John Fastabend,
	KP Singh, netdev, bpf

This patch fixes error reported ny Checkpatch at bpf_log()

ERROR: space required after that , ctx:VxV
Signed-off-by: Jules Irenge <jbi.octave@gmail.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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/2] btf: Fix required space error
  2022-06-29 17:14 [PATCH 1/2] btf: Fix required space error Jules Irenge
@ 2022-06-29 19:21 ` Alexei Starovoitov
  0 siblings, 0 replies; 2+ messages in thread
From: Alexei Starovoitov @ 2022-06-29 19:21 UTC (permalink / raw)
  To: Jules Irenge
  Cc: LKML, Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
	Martin KaFai Lau, Song Liu, Yonghong Song, John Fastabend,
	KP Singh, Network Development, bpf

On Wed, Jun 29, 2022 at 10:14 AM Jules Irenge <jbi.octave@gmail.com> wrote:
>
> This patch fixes error reported ny Checkpatch at bpf_log()

Please do not send patches suggested by checkpatch.
checkpatch is not an authoritative tool.
It's merely suggesting things.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-29 19:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-29 17:14 [PATCH 1/2] btf: Fix required space error Jules Irenge
2022-06-29 19:21 ` Alexei Starovoitov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).