Zijun Hu f73780e772 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>
2025-01-13 07:43:48 -06:00
..
2024-07-04 14:36:04 +01:00
2024-11-30 13:41:50 -08:00
2024-12-31 07:55:16 -06:00
2024-10-08 09:47:30 -05:00