diff options
author | 2022-06-29 15:20:45 -0400 | |
---|---|---|
committer | 2022-06-29 21:41:59 +0200 | |
commit | a578cc3af5cea5c7a912d2cfb8601875eb8ce451 (patch) | |
tree | 25c4695eac9b478def5ff363cb717d931f2dff08 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | power: reset: pwr-mlxbf: add missing include (diff) | |
download | linux-dev-a578cc3af5cea5c7a912d2cfb8601875eb8ce451.tar.xz linux-dev-a578cc3af5cea5c7a912d2cfb8601875eb8ce451.zip |
power: reset: pwr-mlxbf: change rst_pwr_hid and low_pwr_hid from global to local variables
sparse reports
drivers/power/reset/pwr-mlxbf.c:19:12: warning: symbol 'rst_pwr_hid' was not declared. Should it be static?
drivers/power/reset/pwr-mlxbf.c:20:12: warning: symbol 'low_pwr_hid' was not declared. Should it be static?
Both rst_pwr_hid and low_pwr_hid are only used in a single function
so they should be local variables.
Fixes: a4c0094fcf76 ("power: reset: pwr-mlxbf: add BlueField SoC power control driver")
Signed-off-by: Tom Rix <trix@redhat.com>
Acked-by: Asmaa Mnebhi <asmaa@nvidia.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions