[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110813.180123.46722618651238324.davem@davemloft.net>
Date: Sat, 13 Aug 2011 18:01:23 -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: 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@...hat.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists