In article <20200313034939.553d5f...@cvs.netbsd.org>,
Jason R Thorpe <source-changes-d@NetBSD.org> wrote:
>-=-=-=-=-=-
>
>Module Name:   src
>Committed By:  thorpej
>Date:          Fri Mar 13 03:49:39 UTC 2020
>
>Modified Files:
>       src/sys/arch/mips/mips: bus_dma.c
>
>Log Message:
>Allow len == 0 in bus_dmamap_sync().

I think this is better done in the driver, as other ports
do the same check and it catches bugs.

christos

Reply via email to