]> 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)
commitef1b260daa0f681b55b6381f2586b298f3d9ff6a
treec2379cf53b9f2e0dfe85c4cbc21fd5ec39e38288
parent6e38cea8ce9d5c6b8c725b4c4a96853c81f1184d
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