aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strcpy.c
diff options
context:
space:
mode:
authorBjorn Helgaas <[email protected]>2019-10-10 16:54:36 -0500
committerBjorn Helgaas <[email protected]>2019-11-20 17:32:57 -0600
commitec6a75ef8e33fe33f963b916fd902c52a0be33ff (patch)
tree207525c38fb6a399db9eee134f7b897b7fed4471 /lib/test_fortify/write_overflow-strcpy.c
parentdc68b406783edf33af0e997fb98e9e048b4d46e8 (diff)
PCI/PM: Clear PCIe PME Status even for legacy power management
Previously, pci_pm_resume_noirq() cleared the PME Status bit in the Root Status register only if the device had no driver or the driver did not implement legacy power management. It should clear PME Status regardless of what sort of power management the driver supports, so do this before checking for legacy power management. This affects Root Ports and Root Complex Event Collectors, for which the usual driver is the PCIe portdrv, which implements new power management, so this change is just on principle, not to fix any actual defects. Fixes: a39bd851dccf ("PCI/PM: Clear PCIe PME Status bit in core, not PCIe port driver") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions