diff options
author | Shuai Xue <[email protected]> | 2023-12-08 10:56:50 +0800 |
---|---|---|
committer | Will Deacon <[email protected]> | 2023-12-13 13:35:41 +0000 |
commit | ac16087134b837d42b75bb1c741070b6c142f258 (patch) | |
tree | e075f97329c7dca7a2dd883818f3bb3a4274dec9 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | ad6534c626fedd818718d76c36d69c7d8e7b61cc (diff) |
PCI: Move pci_clear_and_set_dword() helper to PCI header
The clear and set pattern is commonly used for accessing PCI config,
move the helper pci_clear_and_set_dword() from aspm.c into PCI header.
In addition, rename to pci_clear_and_set_config_dword() to retain the
"config" information and match the other accessors.
No functional change intended.
Signed-off-by: Shuai Xue <[email protected]>
Acked-by: Bjorn Helgaas <[email protected]>
Tested-by: Ilkka Koskinen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions