HomeFreeBSD

pci: return 0 for pci_remap_intr_method MSI-X non-error case

Description

pci: return 0 for pci_remap_intr_method MSI-X non-error case

When remapping a MSI-X vector, we would always return ENOENT, even if
successful. This didn't really matter, as the sole caller of
BUS_REMAP_INTR also didn't check for errors.

Return 0 if there's no error, so that we can start handling (or at least
warning about) actual failures.

Reviewed by: jhb
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D41449

Details

Provenance
emasteAuthored on Aug 14 2023, 8:35 PM
Reviewer
jhb
Differential Revision
D41449: pci: return 0 for pci_remap_intr_method MSI-X non-error case
Parents
rGa51f81c2e53f: x86: move EARLY_AP_STARTUP into DEFAULTS
Branches
Unknown
Tags
Unknown