[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <382777.1670236186@warthog.procyon.org.uk>
Date: Mon, 05 Dec 2022 10:29:46 +0000
From: David Howells <dhowells@...hat.com>
To: Masami Hiramatsu (Google) <mhiramat@...nel.org>
Cc: dhowells@...hat.com, rostedt@...dmis.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] trace: Fix some checker warnings
Btw, do you know how to deal with:
add_ftrace_export(struct trace_export **list, struct trace_export *export)
being called by:
add_ftrace_export(&ftrace_exports_list, export);
but ftrace_exports_list has an __rcu annotation, so the list argument in the
former should have an __rcu annotation in it somewhere too.
OTOH - there's only one user of add_trace_export() and add_ftrace_export(), so
can they be collapsed into register_ftrace_export()?
David
Powered by blists - more mailing lists