diff options
author | Keith Busch <[email protected]> | 2024-10-22 15:48:48 -0700 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2024-11-11 13:06:02 -0600 |
commit | e3f30d563a388220a7c4e3b9a7b52ac0b0324b26 (patch) | |
tree | 8a0fcef5bcf8b3f4618c0e333477e49505d566e7 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 93093ea1f05928b123dae38b710631362bef1601 (diff) |
PCI: Make pci_destroy_dev() concurrent safe
Use an atomic flag instead of the racy check against the device's kobj
parent. We shouldn't be poking into device implementation details at this
level anyway.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Keith Busch <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions