Messages in this thread | | | From | Lorenzo Pieralisi <> | Subject | Re: [PATCH] PCI: qcom-ep: check return value after calling platform_get_resource_byname() | Date | Tue, 16 Aug 2022 13:02:25 +0200 |
| |
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
| |