sparse complains about rcu_assign_pointer() and RCU_INIT_POINTER() assignments to event_trigger_data filter; annotate it with __rcu to get rid of the warning.
Reported-by: kbuild test robot <fengguang...@intel.com> Signed-off-by: Tom Zanussi <tom.zanu...@linux.intel.com> --- kernel/trace/trace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 433bfc5..24b16fb 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h @@ -1055,7 +1055,7 @@ struct event_trigger_data { int ref; struct event_trigger_ops *ops; struct event_command *cmd_ops; - struct event_filter *filter; + struct event_filter __rcu *filter; char *filter_str; void *private_data; struct list_head list; -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/