diff options
author | Tom Rix <[email protected]> | 2022-04-22 13:38:06 -0400 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2022-05-05 22:08:15 -0500 |
commit | 28e3dc8f8cd37eedc14e97e80a7a2e33359491df (patch) | |
tree | d2ea5a84c29cd5f645c049e6d9d77382ca9fd5f1 /tools/perf/scripts/python/check-perf-trace.py | |
parent | ec69dfbdc426f22a9557e5c5408d7902fe0e0144 (diff) |
soc: qcom: pdr: use static for servreg_* variables
Sparse reports this repesentative issue
pdr_internal.h:31:22: warning: symbol 'servreg_location_entry_ei' was not declared. Should it be static?
Similar for other servreg_*
Global variables should not be defined in header files.
This only works because pdr_internal.h is only included
by pdr_interface.c. Single file use variables should be
static so add static to their storage-class specifiers.
Signed-off-by: Tom Rix <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions