aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorDaniel Axtens <dja@axtens.net>2017-01-30 17:41:54 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2017-02-02 16:35:17 +1100
commitd466f6c5cac17e0c9f22bd4250020bf885049db7 (patch)
tree2e959bbb522b9af6bbeb617c199d9cc1d306a31a /tools/perf/scripts/python/call-graph-from-postgresql.py
parentpowerpc/sparse: Constify the address pointer in __get_user_check() (diff)
downloadwireguard-linux-d466f6c5cac17e0c9f22bd4250020bf885049db7.tar.xz
wireguard-linux-d466f6c5cac17e0c9f22bd4250020bf885049db7.zip
powerpc/sparse: Constify the address pointer in __get_user_nocheck()
In __get_user_nocheck, 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_nocheck macro. Signed-off-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions