diff options
author | Tom Rix <[email protected]> | 2022-04-23 08:30:48 -0400 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2022-04-27 16:55:54 +0200 |
commit | eb2fd9b43fae0c51982ac4229535b6cfd77380db (patch) | |
tree | 46db60bb4eb7ef8cc669309fc74a6f88d5e5cbb3 /scripts/bpf_doc.py | |
parent | 00dd3ace931b4d2f6e5e9ccf4bf738fe46b64289 (diff) |
platform/x86/intel: pmc/core: change pmc_lpm_modes to static
Sparse reports this issue
core.c: note: in included file:
core.h:239:12: warning: symbol 'pmc_lpm_modes' was not declared. Should it be static?
Global variables should not be defined in headers. This only works
because core.h is only included by core.c. Single file use
variables should be static, so change its storage-class specifier
to static.
Signed-off-by: Tom Rix <[email protected]>
Reviewed-by: David E. Box <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions