tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: USB error checking



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.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index