]> git.baikalelectronics.ru Git - 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)
commitc3eaee1c7cb0048075642f90d0c2ca33616d15f9
treec2379cf53b9f2e0dfe85c4cbc21fd5ec39e38288
parent02b77e89fcca1a21a446314d633ee53ed4dbdc97
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