[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166064770874.160374.17316650518985523856.b4-ty@kernel.org>
Date: Tue, 16 Aug 2022 13:02:25 +0200
From: Lorenzo Pieralisi <lpieralisi@...nel.org>
To: linux-arm-msm@...r.kernel.org,
Yang Yingliang <yangyingliang@...wei.com>,
linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org
Cc: Lorenzo Pieralisi <lpieralisi@...nel.org>, mani@...nel.org
Subject: Re: [PATCH] PCI: qcom-ep: check return value after calling platform_get_resource_byname()
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
Powered by blists - more mailing lists