Re: [PATCH v4] usbnet/cdc_ncm: Don't use stack variables for DMA

From: David Miller
Date: Sat Aug 13 2011 - 21:01:52 EST


From: Josh Boyer <jwboyer@xxxxxxxxxx>
Date: Mon, 8 Aug 2011 08:34:07 -0400

> 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 <jwboyer@xxxxxxxxxx>

Applied.
--
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/