Files
android_kernel_xiaomi_sm8450/arch/sparc/kernel
Sam Ravnborg 265c1ffa59 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>
2014-05-18 19:01:33 -07:00
..
2008-12-04 09:17:15 -08:00
2013-02-17 23:36:56 -05:00
2008-12-04 09:17:21 -08:00
2014-05-18 19:01:30 -07:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2014-04-29 01:12:25 -04:00
2014-05-18 19:01:29 -07:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2012-07-26 16:46:15 -07:00
2014-05-18 19:01:31 -07:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2013-12-03 11:51:51 -05:00
2013-11-12 15:22:34 -08:00
2013-10-02 20:02:35 -04:00
2014-05-02 01:30:21 -04:00
2014-05-18 19:01:29 -07:00
2008-12-04 09:17:21 -08:00
2013-11-13 12:09:05 +09:00
2008-12-04 09:17:21 -08:00
2014-05-18 19:01:31 -07:00
2014-05-18 19:01:27 -07:00
2012-08-18 23:26:19 -07:00
2013-02-17 23:36:56 -05:00
2013-06-13 22:12:14 +01:00
2012-03-28 18:30:03 +01:00
2013-07-31 19:10:03 -07:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00