Page MenuHomeFreeBSD

LinuxKPI: add DMA_MAPPING_ERROR
ClosedPublic

Authored by bz on Sep 23 2022, 10:17 PM.
Tags
None
Referenced Files
F132574272: D36686.id110898.diff
Sat, Oct 18, 2:31 AM
Unknown Object (File)
Sun, Oct 12, 5:30 AM
Unknown Object (File)
Sun, Oct 12, 5:22 AM
Unknown Object (File)
Thu, Oct 9, 9:57 AM
Unknown Object (File)
Tue, Oct 7, 5:16 PM
Unknown Object (File)
Sat, Oct 4, 8:32 AM
Unknown Object (File)
Sat, Oct 4, 4:39 AM
Unknown Object (File)
Sat, Oct 4, 3:47 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