tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: USB error checking
mlelstv%serpens.de@localhost (Michael van Elst) wrote:
>rjs%fdy2.co.uk@localhost (Robert Swindells) writes:
>
>>I have now got it to drop into DDB and found that it is triggering an
>>assertion in sys/arch/arm/arm32/bus_dma.c:_bus_dmamap_sync().
>
>> KASSERTMSG(len > 0 && offset + len <= map->dm_mapsize,
>> "len %lu offset %lu mapsize %lu",
>> len, offset, map->dm_mapsize);
>
>Or just correct this assertion, len == 0 isn't invalid.
The same assertion is in other architectures as well, not just ARM.
Home |
Main Index |
Thread Index |
Old Index