diff options
author | 2014-05-16 23:26:04 +0200 | |
---|---|---|
committer | 2014-05-18 19:01:33 -0700 | |
commit | 265c1ffa593a1759a59441a93b4c7e5ed0d176c6 (patch) | |
tree | 32d2ffafe885e9e1f7b7c90fb81365424d9a766b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | sparc64: fix sparse warnings in kprobes.c (diff) | |
download | linux-dev-265c1ffa593a1759a59441a93b4c7e5ed0d176c6.tar.xz linux-dev-265c1ffa593a1759a59441a93b4c7e5ed0d176c6.zip |
sparc64: fix sparse warnings in perf_event.c
Fix following sparse warnings:
kernel/perf_event.c:113:1: warning: symbol 'cpu_hw_events' was not declared. Should it be static?
kernel/perf_event.c:1156:6: warning: symbol 'perf_event_grab_pmc' was not declared. Should it be static?
kernel/perf_event.c:1172:6: warning: symbol 'perf_event_release_pmc' was not declared. Should it be static?
kernel/perf_event.c:1672:12: warning: symbol 'init_hw_perf_events' was not declared. Should it be static?
kernel/perf_event.c:1749:52: warning: incorrect type in argument 2 (different address spaces)
kernel/perf_event.c:1772:60: warning: incorrect type in argument 2 (different address spaces)
kernel/perf_event.c:1779:60: warning: incorrect type in argument 2 (different address spaces)
Define the functions static as they are not used outside this file.
Fix it so copy_from_user are supplied with pointers annotated _user
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions