HomeFreeBSD

LinuxKPI: add DMA_MAPPING_ERROR

Description

LinuxKPI: add DMA_MAPPING_ERROR

While we deal with 0 returned, some drivers directly use and check for
DMA_MAPPING_ERROR. Add the case and check for both in dma_mapping_error().

MFC after: 1 week
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D36686

Details

Provenance
bzAuthored on Sep 23 2022, 10:13 PM
Reviewer
hselasky
Differential Revision
D36686: LinuxKPI: add DMA_MAPPING_ERROR
Parents
rGf486b352470e: LinuxKPI: add struct dmi_header and unsupported dmi_walk()
Branches
Unknown
Tags
Unknown