aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorTom Rix <[email protected]>2020-08-19 11:46:37 -0700
committerBjorn Andersson <[email protected]>2020-11-21 21:51:42 -0600
commita161ffe4b877721d8917e18e70461d255a090f19 (patch)
tree359bc4657245598deeb254b99305398d0fb00d27 /tools/perf/scripts/python/export-to-sqlite.py
parent903b08340b885689646713bc2ec5ae10c7dbe8db (diff)
soc: qcom: initialize local variable
clang static analysis reports this problem pdr_interface.c:596:6: warning: Branch condition evaluates to a garbage value if (!req.service_path[0]) ^~~~~~~~~~~~~~~~~~~~ This check that req.service_path was set in an earlier loop. However req is a stack variable and its initial value is undefined. So initialize req to 0. Fixes: fbe639b44a82 ("soc: qcom: Introduce Protection Domain Restart helpers") Reviewed-by: Sibi Sankar <[email protected]> Signed-off-by: Tom Rix <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions