[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110812.081145.1237768611581199187.davem@davemloft.net>
Date: Fri, 12 Aug 2011 08:11:45 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jwboyer@...hat.com
Cc: oliver@...kum.org, alexey.orishko@...ricsson.com, gregkh@...e.de,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH v4] usbnet/cdc_ncm: Don't use stack variables for DMA
From: Josh Boyer <jwboyer@...hat.com>
Date: Fri, 12 Aug 2011 11:07:16 -0400
> On Mon, Aug 08, 2011 at 08:34:06AM -0400, Josh Boyer wrote:
>> 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@...hat.com>
>> ---
>> v4: Rebase against 3.1-rc1
>> v3: Fix checkpatch errors
>> v2: Fix leak in error path
>>
>> drivers/net/usb/cdc_ncm.c | 47 ++++++++++++++++++++++++++++++++++++--------
>> 1 files changed, 38 insertions(+), 9 deletions(-)
>
> Just curious, but which tree would this be pulled into? usb or net or?
Probably net.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists