RE: [PATCH v2] PCI: cadence: Add missing return in cdns_plat_pcie_probe()

From: Tom Joseph
Date: Thu Oct 21 2021 - 06:18:37 EST


Hi Li,

Thanks a lot for the patch!!

> -----Original Message-----
> From: Li Chen <lchen@xxxxxxxxxxxxx>
> Sent: 21 October 2021 03:50
> Subject: [PATCH v2] PCI: cadence: Add missing return in
> cdns_plat_pcie_probe()
>
> When cdns_plat_pcie_probe() succeeds, return success instead of
> falling into the error handling code.
>
> Signed-off-by: Xuliang Zhang <xlzhanga@xxxxxxxxxxxxx>
> Reviewed-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
> Fixes: bd22885aa188 ("PCI: cadence: Refactor driver to use as a core library")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Li Chen <lchen@xxxxxxxxxxxxx>
> ---
> drivers/pci/controller/cadence/pcie-cadence-plat.c | 2 ++
> 1 file changed, 2 insertions(+)
>
Acked-by: Tom Joseph <tjoseph@xxxxxxxxxxx>