HomeFreeBSD

riscv: very large dma mappings can cause integer overflow

Description

riscv: very large dma mappings can cause integer overflow

Fix the return type for _bus_dmamap_addseg().
Based on the same fix done for arm64 in r348571.

Sponsored by: Axiado

Details

Provenance
kpAuthored on
Parents
rS365244: Fix build fallout after r365054 .
Branches
Unknown
Tags
Unknown