diff options
author | Breno Leitao | 2018-10-22 11:54:19 -0300 |
---|---|---|
committer | Michael Ellerman | 2018-11-25 17:11:21 +1100 |
commit | 4851f75098bc9cb2feb44c8168b99ab78b60961d (patch) | |
tree | e7d853499988e83bb38aeaf280087d17f8038503 /crypto/xor.c | |
parent | 3347c9f691bf23c65375c51f904c848b36b6f8fb (diff) |
powerpc/perf: Declare static identifier a such
There are three symbols (two variables and a function) that are being used
solely in the same file (imc-pmu.c), thus, these symbols should be static,
but they are not. This was detected by sparse:
arch/powerpc/perf/imc-pmu.c:31:20: warning: symbol 'nest_imc_refc' was not declared. Should it be static?
arch/powerpc/perf/imc-pmu.c:37:20: warning: symbol 'core_imc_refc' was not declared. Should it be static?
arch/powerpc/perf/imc-pmu.c:46:16: warning: symbol 'imc_event_to_pmu' was not declared. Should it be static?
This patch simply adds the 'static' storage-class definition to these
symbols, thus, restricting their usage only in the imc-pmu.c file.
Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'crypto/xor.c')
0 files changed, 0 insertions, 0 deletions