[PATCH next] PCI: rockchip-ep: Fix error code in rockchip_pcie_ep_init_ob_mem()

Damien Le Moal dlemoal at kernel.org
Sat Nov 30 02:28:08 PST 2024


On 11/30/24 19:01, Dan Carpenter wrote:
> Return -ENOMEM if pci_epc_mem_alloc_addr() fails.  Don't return success.
> 
> Fixes: c35a85126116 ("PCI: rockchip-ep: Refactor rockchip_pcie_ep_probe() memory allocations")
> Signed-off-by: Dan Carpenter <dan.carpenter at linaro.org>

Oops. My bad :)

Reviewed-by: Damien Le Moal <dlemoal at kernel.org>

Note that this patch is in Linus tree now so the Fixes tag should be:

Fixes: 945648019466 ("PCI: rockchip-ep: Refactor rockchip_pcie_ep_probe() memory
allocations")

Thanks !

-- 
Damien Le Moal
Western Digital Research



More information about the Linux-rockchip mailing list