Re: PCI DMA to small buffers on cache-incoherent arch

From: Roland Dreier (roland@topspin.com)
Date: Tue Jun 11 2002 - 18:56:14 EST


>>>>> "Thunder" == Thunder from the hill <thunder@ngforever.de> writes:

    Thunder> You introduce a possible null pointer dereference here,
    Thunder> don't you?

I left out the error checking for the allocations everywhere in my
email. It wasn't real code and I thought that testing for NULL all
over the place would obscure the real point.

R.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:23 EST