Re: [PATCH] usb/mcs7830: Don't use buffers from stack for USBtransfers

From: David Miller
Date: Tue Jan 20 2009 - 18:39:26 EST


From: Arnd Bergmann <arnd@xxxxxxxx>
Date: Wed, 21 Jan 2009 00:37:51 +0100

> On a related topic, can we put something in place that can check for
> this error at run-time, like a WARN_ON(is_kernel_stack(addr)) in
> dma_map_single?

That would be something for the DMA API debugging patches that
have been floating around lately.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/