[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <173677582896.1697397.5123977451198992803.robh@kernel.org>
Date: Mon, 13 Jan 2025 07:43:51 -0600
From: "Rob Herring (Arm)" <robh@...nel.org>
To: Zijun Hu <zijun_hu@...oud.com>
Cc: Marek Szyprowski <m.szyprowski@...sung.com>,
Catalin Marinas <catalin.marinas@....com>,
Maxime Ripard <mripard@...nel.org>, Marc Zyngier <maz@...nel.org>,
Mike Rapoport <rppt@...nel.org>, Zijun Hu <quic_zijuhu@...cinc.com>,
Andreas Herrmann <andreas.herrmann@...xeda.com>,
Grant Likely <grant.likely@...retlab.ca>,
devicetree@...r.kernel.org,
Oreoluwa Babatunde <quic_obabatun@...cinc.com>,
Robin Murphy <robin.murphy@....com>, linux-kernel@...r.kernel.org,
Saravana Kannan <saravanak@...gle.com>
Subject: Re: [PATCH v4 06/14] of: property: Avoiding using uninitialized
variable @imaplen in parse_interrupt_map()
On Thu, 09 Jan 2025 21:26:57 +0800, Zijun Hu wrote:
> From: Zijun Hu <quic_zijuhu@...cinc.com>
>
> 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@...cinc.com>
> ---
> drivers/of/property.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Applied, thanks!
Powered by blists - more mailing lists