Re: [PATCH] PCI: qcom-ep: check return value after calling platform_get_resource_byname()
From: Lorenzo Pieralisi
Date: Tue Aug 16 2022 - 07:37:17 EST
On Fri, 29 Apr 2022 16:07:40 +0800, Yang Yingliang wrote:
> If platform_get_resource_byname() fails, 'mmio_res' will be set to null pointer,
> it will cause null-ptr-deref when it used in qcom_pcie_perst_deassert(), so we
> need check the return value.
>
>
Applied to pci/endpoint, thanks!
[1/1] PCI: qcom-ep: check return value after calling platform_get_resource_byname()
https://git.kernel.org/lpieralisi/pci/c/a6f7fbae8371
Thanks,
Lorenzo