Re: [PATCH 2/2] powerpc/perf: Add declarations to fix sparse warnings

2020-09-16 Thread Madhavan Srinivasan
On 9/16/20 5:26 PM, Michael Ellerman wrote: Sparse warns about all the init functions: symbol init_ppc970_pmu was not declared. Should it be static? symbol init_power5p_pmu was not declared. Should it be static? symbol init_power5_pmu was not declared. Should it be static? symbol i

[PATCH 2/2] powerpc/perf: Add declarations to fix sparse warnings

2020-09-16 Thread Michael Ellerman
Sparse warns about all the init functions: symbol init_ppc970_pmu was not declared. Should it be static? symbol init_power5p_pmu was not declared. Should it be static? symbol init_power5_pmu was not declared. Should it be static? symbol init_power6_pmu was not declared. Should it be static?