Re: [PATCH v2] PCI: brcmstb: Fix for missing of_node_put

From: Florian Fainelli
Date: Mon Feb 03 2025 - 13:38:31 EST


On 1/22/25 14:29, Stanimir Varbanov wrote:
A call to of_parse_phandle() is incrementing the refcount, of_node_put
must be called when done the work on it. Add missing of_node_put() after
the check for msi_np == np and MSI initialization.

Cc: stable@xxxxxxxxxxxxxxx # v5.10+
Fixes: 40ca1bf580ef ("PCI: brcmstb: Add MSI support")
Signed-off-by: Stanimir Varbanov <svarbanov@xxxxxxx>

Reviewed-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
--
Florian