From: Josh Boyer Date: Mon, 8 Aug 2011 02:34:07 +0000 (+0000) Subject: usbnet/cdc_ncm: Don't use stack variables for DMA X-Git-Tag: v3.1-rc4~51^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75bc8ef528f7c4ea7e80384c5593487b6b3b535e;p=pandora-kernel.git usbnet/cdc_ncm: Don't use stack variables for DMA The cdc_ncm driver still has a few places where stack variables are passed to the cdc_ncm_do_request function. This triggers a stack trace in lib/dma-debug.c if the CONFIG_DEBUG_DMA_API option is set. Adjust these calls to pass parameters that have been allocated with kzalloc. Signed-off-by: Josh Boyer Signed-off-by: David S. Miller --- Reading git-diff-tree failed