HomeFreeBSD

Avoid a NULL pointer dereference in bounce_bus_dmamap_sync() when the

Description

Avoid a NULL pointer dereference in bounce_bus_dmamap_sync() when the
map has been created via bounce_bus_dmamem_alloc(). Even for coherent
DMA - which bus_dmamem_alloc(9) typically is used for -, calling of
bus_dmamap_sync(9) isn't optional.

PR: 188899 (non-original problem)
MFC after: 3 days

Details

Provenance
mariusAuthored on
Parents
rS291087: META MODE: Don't stage INTERNALPROGs.
Branches
Unknown
Tags
Unknown