diff options
author | Zijun Hu <quic_zijuhu@quicinc.com> | 2025-01-09 16:26:57 +0300 |
---|---|---|
committer | Rob Herring (Arm) <robh@kernel.org> | 2025-01-13 16:43:48 +0300 |
commit | f73780e772c06901e99b2ad114b7f0f3fbe73ad4 (patch) | |
tree | aa1487c82a204123bfda6f30322ccf040b5dfa16 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e4c00c9b1f70cd11792ff5b825899a6ee0234a62 (diff) | |
download | linux-f73780e772c06901e99b2ad114b7f0f3fbe73ad4.tar.xz |
of: property: Avoiding using uninitialized variable @imaplen in parse_interrupt_map()
parse_interrupt_map() will use uninitialized variable @imaplen if fails
to get property 'interrupt-map'.
Fix by using the variable after successfully getting the property.
Fixes: e7985f43609c ("of: property: Fix fw_devlink handling of interrupt-map")
Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20250109-of_core_fix-v4-6-db8a72415b8c@quicinc.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions