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().

(cherry picked from commit 0b9bc97342f98a911985ace5527aef97863dfd23)

Details

Provenance
bzAuthored on Sep 23 2022, 10:13 PM
Parents
rGe53573cb3987: net80211: improve error handling from ieee80211_parse_beacon()
Branches
Unknown
Tags
Unknown