Re: (subset) [PATCH 1/2] PCI: dwc: Guard RAS DES debugfs deinit
From: Manivannan Sadhasivam
Date: Tue Jun 09 2026 - 13:17:37 EST
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@xxxxxxxxxx>