aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorAnton Blanchard <[email protected]>2015-05-26 08:53:25 +1000
committerMichael Ellerman <[email protected]>2015-06-11 17:33:05 +1000
commitb91c1e3e7a6f22a6b898e345b745b6a43273c973 (patch)
treee52bbbaaac74d9cf7388344b62394c15acdf3e49 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parente633bc86a922468a82300eef5b9802e17be5e23d (diff)
powerpc: Fix duplicate const clang warning in user access code
We see a large number of duplicate const errors in the user access code when building with llvm/clang: include/linux/pagemap.h:576:8: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] ret = __get_user(c, uaddr); The problem is we are doing const __typeof__(*(ptr)), which will hit the warning if ptr is marked const. Removing const does not seem to have any effect on GCC code generation. Signed-off-by: Anton Blanchard <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions