aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strcpy.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-09-29 20:09:39 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-10-05 15:38:05 +0200
commitbf39c929f9053cd840155a1c39494c9a9946836b (patch)
treebf71bf4f1c2a938ab4acaa065b18187868f40b6f /lib/test_fortify/write_overflow-strcpy.c
parentf09183712146909d56c9555e6901c10cc285339f (diff)
PCI: PM: Rearrange pci_target_state()
Make pci_target_state() return D3cold or D0 without checking PME support if the current power state of the device is D3cold or if it does not support the standard PCI PM, respectively. Next, drop the tergat_state local variable that has become redundant from it. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Tested-by: Ferry Toth <fntoth@gmail.com>
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions