Thread (56 messages) 56 messages, 5 authors, 2025-02-27

Re: [PATCH v4 06/14] of: property: Avoiding using uninitialized variable @imaplen in parse_interrupt_map()

From: "Rob Herring (Arm)" <robh@kernel.org>
Date: 2025-01-13 13:43:53
Also in: lkml

On Thu, 09 Jan 2025 21:26:57 +0800, Zijun Hu wrote:
From: Zijun Hu <redacted>

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 <redacted>
---
 drivers/of/property.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help