summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2014-05-16 21:26:04 (GMT)
committerDavid S. Miller <davem@davemloft.net>2014-05-19 02:01:33 (GMT)
commit265c1ffa593a1759a59441a93b4c7e5ed0d176c6 (patch)
tree32d2ffafe885e9e1f7b7c90fb81365424d9a766b /drivers
parent2f827ea7cee8c1fe9a516dab2fc1686da38cbed0 (diff)
downloadlinux-265c1ffa593a1759a59441a93b4c7e5ed0d176c6.tar.xz
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 'drivers')
0 files changed, 0 insertions, 0 deletions