aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorIlpo Järvinen <[email protected]>2024-10-22 12:11:37 +0300
committerBjorn Helgaas <[email protected]>2024-10-22 10:05:57 -0500
commite2226dbc4a4919d9c8bd9293299b532090bdf020 (patch)
treeb60480f44538984472d6f9dd42c9e416fc8a4ed1 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent91a6296793591983f27db40f41daab53500ffc6e (diff)
PCI: cpqphp: Fix PCIBIOS_* return value confusion
Code in and related to PCI_RefinedAccessConfig() has three types of return type confusion: - PCI_RefinedAccessConfig() tests pci_bus_read_config_dword() return value against -1. - PCI_RefinedAccessConfig() returns both -1 and PCIBIOS_* return codes. - Callers of PCI_RefinedAccessConfig() only test for -1. Make PCI_RefinedAccessConfig() return PCIBIOS_* codes consistently and adapt callers accordingly. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ilpo Järvinen <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions