Unverified Commit 42f14677 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!13096 Update ASPM sysfs on MFD function removal to avoid use-after-free

parents b2eaf472 951c5e26
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -997,6 +997,8 @@ void pcie_aspm_exit_link_state(struct pci_dev *pdev)
		pcie_config_aspm_path(parent_link);
	}

	pcie_aspm_update_sysfs_visibility(parent);

	mutex_unlock(&aspm_lock);
	up_read(&pci_bus_sem);
}