aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2022-06-29 15:20:45 -0400
committerSebastian Reichel <sebastian.reichel@collabora.com>2022-06-29 21:41:59 +0200
commita578cc3af5cea5c7a912d2cfb8601875eb8ce451 (patch)
tree25c4695eac9b478def5ff363cb717d931f2dff08 /tools/perf/scripts/python/call-graph-from-sql.py
parentpower: reset: pwr-mlxbf: add missing include (diff)
downloadlinux-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