aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaniel Axtens <[email protected]>2017-01-30 17:41:55 +1100
committerMichael Ellerman <[email protected]>2017-02-02 16:35:21 +1100
commitf2ca809059294b27703d709a3c4218197c5f16dc (patch)
tree897d49144e62ec2a01b5f648af629f7f7fe621f6 /tools/perf/scripts/python
parentd466f6c5cac17e0c9f22bd4250020bf885049db7 (diff)
powerpc/sparse: Constify the address pointer in __get_user_nosleep()
In __get_user_nosleep, we create an intermediate pointer for the user address we're about to fetch. We currently don't tag this pointer as const. Make it const, as we are simply dereferencing it, and it's scope is limited to the __get_user_nosleep macro. Signed-off-by: Daniel Axtens <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions