Re: [PATCH v7 03/14] PCI: rzg3s-host: Don't mix goto-based unwinding and cleanup helpers
From: Claudiu Beznea
Date: Thu Nov 26 2026 - 12:10:40 EST
On 11/25/26 18:40, Manivannan Sadhasivam wrote:
On 2026-10-19 09:50 +0300, Claudiu Beznea wrote:Indeed, will drop the fixes tag.
From: Claudiu Beznea <claudiu.beznea.uj@xxxxxxxxxxxxxx>
rzg3s_pcie_probe() releases the sysc_np OF node through the
__free(device_node) annotation, while the rest of the function uses
goto-based unwinding. According to cleanup.h, the two styles should
not be mixed within a function, as this makes the ownership semantics
hard to follow. Drop the annotation and call of_node_put() explicitly
on the exit paths instead.
Fixes: 7ef502fb35b2 ("PCI: Add Renesas RZ/G3S host controller driver")
Cc: stable@xxxxxxxxxxxxxxx
Is this really a stable candidate?
Thank you for your review,
Claudiu