]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
trace: fix the errors caused by incompatible type of RCU variables
authorChunyan Zhang <zhang.chunyan@linaro.org>
Wed, 7 Jun 2017 08:12:51 +0000 (16:12 +0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 20 Jul 2017 13:27:29 +0000 (09:27 -0400)
commitf86f418059b94aa01f9342611a272ca60c583e89
treec2379cf53b9f2e0dfe85c4cbc21fd5ec39e38288
parentdb9108e054700c96322b0f0028546aa4e643cf0b
trace: fix the errors caused by incompatible type of RCU variables

The variables which are processed by RCU functions should be annotated
as RCU, otherwise sparse will report the errors like below:

"error: incompatible types in comparison expression (different
address spaces)"

Link: http://lkml.kernel.org/r/1496823171-7758-1-git-send-email-zhang.chunyan@linaro.org
Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org>
[ Updated to not be 100% 80 column strict ]
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
include/linux/ftrace.h
include/linux/trace_events.h
kernel/trace/ftrace.c
kernel/trace/trace.h