commit | 75bc8ef528f7c4ea7e80384c5593487b6b3b535e | [log] [tgz] |
---|---|---|
author | Josh Boyer <jwboyer@redhat.com> | Mon Aug 08 02:34:07 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat Aug 13 18:00:32 2011 -0700 |
tree | 7207080d5c50cc10d8104fe3cadf96b7cb21b938 | |
parent | f6957f88e59df5008f7b2169400be657f81cdb80 [diff] |
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 <jwboyer@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>