From: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> To: linux-kernel@vger.kernel.org, Steven Rostedt <rostedt@goodmis.org> Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>, Frederic Weisbecker <fweisbec@gmail.com>, yrl.pp-manager.tt@hitachi.com, Oleg Nesterov <oleg@redhat.com>, Ingo Molnar <mingo@redhat.com>, Tom Zanussi <tom.zanussi@intel.com> Subject: [PATCH 2/3] [CLEANUP/SPARSE] tracing/kprobes: Fix a sparse warning for incorrect type in assignment Date: Mon, 13 May 2013 20:58:37 +0900 [thread overview] Message-ID: <20130513115837.6545.23322.stgit@mhiramat-M0-7522> (raw) In-Reply-To: <20130513115824.6545.47677.stgit@mhiramat-M0-7522> Fix a sparse warning about the rcu operated pointer is defined without __rcu address space. Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@redhat.com> --- kernel/trace/trace_kprobe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/trace_kprobe.c b/kernel/trace/trace_kprobe.c index 0a3d8d5..81c5109 100644 --- a/kernel/trace/trace_kprobe.c +++ b/kernel/trace/trace_kprobe.c @@ -35,7 +35,7 @@ struct trace_probe { const char *symbol; /* symbol name */ struct ftrace_event_class class; struct ftrace_event_call call; - struct ftrace_event_file **files; + struct ftrace_event_file * __rcu *files; ssize_t size; /* trace entry size */ unsigned int nr_args; struct probe_arg args[];
next prev parent reply other threads:[~2013-05-13 12:02 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-05-13 11:58 [PATCH 0/3][BUGFIX] tracing/kprobe: memory barrier related bugfixes Masami Hiramatsu 2013-05-13 11:58 ` [PATCH 1/3] [BUGFIX] tracing/kprobes: Use rcu_dereference_raw for tp->files Masami Hiramatsu 2013-05-13 11:58 ` Masami Hiramatsu [this message] 2013-05-13 11:58 ` [PATCH 3/3] [CLEANUP/SPARSE] tracing/kprobes: Make print_*probe_event static Masami Hiramatsu
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20130513115837.6545.23322.stgit@mhiramat-M0-7522 \ --to=masami.hiramatsu.pt@hitachi.com \ --cc=fweisbec@gmail.com \ --cc=linux-kernel@vger.kernel.org \ --cc=mingo@redhat.com \ --cc=oleg@redhat.com \ --cc=rostedt@goodmis.org \ --cc=srikar@linux.vnet.ibm.com \ --cc=tom.zanussi@intel.com \ --cc=yrl.pp-manager.tt@hitachi.com \ --subject='Re: [PATCH 2/3] [CLEANUP/SPARSE] tracing/kprobes: Fix a sparse warning for incorrect type in assignment' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.