NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/55067: bge(4) does not work on MIPS systems (it panics)
The following reply was made to PR port-mips/55067; it has been noted by GNATS.
From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: kern/55067: bge(4) does not work on MIPS systems (it panics)
Date: Fri, 13 Mar 2020 07:38:14 -0000 (UTC)
nick.hudson%gmx.co.uk@localhost (Nick Hudson) writes:
>On 12/03/2020 22:40, Michael van Elst wrote:
>> mips _bus_dmamap_sync erroneously traps len == 0. It should be gracefully
>> allowing that value like other archs.
>I said the same on source-changes-d, but here goes again.
>The check for len !=0 in arm bus_dma.c has caught several bugs over the
>years.
>I plan on leaving it there.
If the check is supposed to catch bugs it should be a) a message, not a panic,
b) only for DIAGNOSTIC and c) maintained for all archs and not your lone
decision.
--
--
Michael van Elst
Internet: mlelstv%serpens.de@localhost
"A potential Snark may lurk in every tree."
Home |
Main Index |
Thread Index |
Old Index