[PATCH v3 3/3] tracing/probes: Fix code indent in get_bitoffset_of_field()

From
Masami Hiramatsu (Google) <mhiramat@kernel.org>
Date
2026-09-01 14:22:06
Also in
linux-doc, linux-perf-users, lkml
Reply to
Masami Hiramatsu (Google), 2026-09-01
From: Masami Hiramatsu (Google) <mhiramat@kernel.org>

Fix code block indentation introduced by commit f21834524025
("tracing/probes: Support field specifier option for typecast").

Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
---
 kernel/trace/trace_probe.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/kernel/trace/trace_probe.c b/kernel/trace/trace_probe.c
index 144e790077c6..908b4b6bc2df 100644
--- a/kernel/trace/trace_probe.c
+++ b/kernel/trace/trace_probe.c
@@ -662,11 +662,11 @@ static int get_bitoffset_of_field(char **pfieldname, const struct btf_type **pty
 			ctx->last_bitsize = 0;
 		}
 
-			type = btf_type_skip_modifiers(btf, field->type, NULL);
-			if (!type) {
-				trace_probe_log_err(ctx->offset, BAD_BTF_TID);
-				return -EINVAL;
-			}
+		type = btf_type_skip_modifiers(btf, field->type, NULL);
+		if (!type) {
+			trace_probe_log_err(ctx->offset, BAD_BTF_TID);
+			return -EINVAL;
+		}
 
 		if (next)
 			ctx->offset += next - fieldname;
Thread (10 messages) 10 messages, 3 authors, last reply 2026-09-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help