(subset) [PATCH 1/2] PCI: dwc: Guard RAS DES debugfs deinit
Manivannan Sadhasivam
manivannan.sadhasivam at oss.qualcomm.com
Tue Jun 9 09:44:38 PDT 2026
On Mon, 18 May 2026 22:44:17 +0545, Shuvam Pandey wrote:
> dwc_pcie_rasdes_debugfs_init() returns success when the controller has
> no RAS DES capability, leaving pci->debugfs->rasdes_info unset. The
> common debugfs teardown path still calls
> dwc_pcie_rasdes_debugfs_deinit(), which dereferences rasdes_info
> unconditionally.
>
> Return early when no RAS DES state was allocated. In that case no RAS DES
> mutex was initialized, so there is nothing to destroy.
>
> [...]
Applied, thanks!
[1/2] PCI: dwc: Guard RAS DES debugfs deinit
commit: a5ee214bb36f43b4d8bb2615b30d3b5c0ea80826
Best regards,
--
Manivannan Sadhasivam <mani at kernel.org>
More information about the linux-arm-kernel
mailing list