Thread (5 messages) 5 messages, 2 authors, 2020-01-06

Re: "ftrace: Rework event_create_dir()" triggers boot error messages

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2020-01-06 17:54:55
Also in: linux-arm-kernel, lkml

On Mon, 6 Jan 2020 12:05:58 -0500
Qian Cai [off-list ref] wrote:
quoted
diff --git a/kernel/trace/trace_syscalls.c b/kernel/trace/trace_syscalls.c
index 53935259f701..abb70c71fe60 100644
--- a/kernel/trace/trace_syscalls.c
+++ b/kernel/trace/trace_syscalls.c
@@ -269,7 +269,8 @@ static int __init syscall_enter_define_fields(struct trace_event_call *call)
	struct syscall_trace_enter trace;
	struct syscall_metadata *meta = call->data;
	int offset = offsetof(typeof(trace), args);
-	int ret, i;
+	int ret = 0;
+	int i;

	for (i = 0; i < meta->nb_args; i++) {
		ret = trace_define_field(call, meta->types[i],  
Steve, those errors are still there in today’s linux-next. Is this patch on the way to the linux-next?
No, because this bug is not in my tree.

I'll send a proper patch to the tip folks.

-- Steve
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help