Skip to content
Snippets Groups Projects
Commit f86f4180 authored by Chunyan Zhang's avatar Chunyan Zhang Committed by Steven Rostedt (VMware)
Browse files

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: default avatarChunyan Zhang <zhang.chunyan@linaro.org>
[ Updated to not be 100% 80 column strict ]
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent db9108e0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment