diff options
author | Mathias Krause <[email protected]> | 2012-09-02 23:31:44 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2012-09-05 10:52:25 +0200 |
commit | 5c7d03e99cb1ed449328ed9fba0c632944d39e7e (patch) | |
tree | d70916626c504cc0fb005b11cb1951277a81a1c4 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 04d695a6828bca54d53305246545cd1f8a841ac6 (diff) |
x86/fpu/xsave: Keep __user annotation in casts
Don't remove the __user annotation of the fpstate pointer, but
drop the superfluous void * cast instead.
This fixes the following sparse warnings:
xsave.c:135:15: warning: cast removes address space of expression
xsave.c:135:15: warning: incorrect type in argument 1 (different address spaces)
xsave.c:135:15: expected void const volatile [noderef] <asn:1>*<noident>
[...]
Signed-off-by: Mathias Krause <[email protected]>
Cc: Suresh Siddha <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions