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

Roland Dreier (roland@topspin.com)
11 Jun 2002 16:56:14 -0700


>>>>> "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/