Re: [PATCH] PCI: iproc: Use __free(device_node) in iproc_pcie_msi_enable()
From: Marek Vasut
Date: Tue Sep 22 2026 - 17:49:36 EST
On 9/22/26 11:08 PM, Fuad Tabba wrote:
Declare msi_node with __free(device_node) and drop the out_put_nodeThis is nice.
label and its goto: the scoped cleanup puts the MSI controller node on
every return, as the label did.
No functional change intended.
Suggested-by: Marek Vasut <marek.vasut+renesas@xxxxxxxxxxx>
Link: https://lore.kernel.org/linux-pci/61488ddc-b346-4ba3-b32a-e972a3bd75a4@xxxxxxxxxxx/
Signed-off-by: Fuad Tabba <fuad.tabba@xxxxxxxxx>
---
drivers/pci/controller/pcie-iproc.c | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
Reviewed-by: Marek Vasut <marek.vasut+renesas@xxxxxxxxxxx>
Thank you.