Page MenuHomeFreeBSD

LinuxKPI: add DMA_MAPPING_ERROR
ClosedPublic

Authored by bz on Sep 23 2022, 10:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 5, 10:52 PM
Unknown Object (File)
Thu, Oct 24, 10:52 PM
Unknown Object (File)
Thu, Oct 24, 10:51 PM
Unknown Object (File)
Thu, Oct 24, 10:51 PM
Unknown Object (File)
Thu, Oct 24, 10:35 PM
Unknown Object (File)
Oct 3 2024, 12:49 PM
Unknown Object (File)
Sep 27 2024, 10:19 AM
Unknown Object (File)
Sep 27 2024, 2:27 AM

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable