From: jwboyer@redhat.com Date: Mon, 20 Feb 2012 20:34:34 +0000 (-0500) Subject: USB: ums_realtek: do not use stack memory for DMA in __do_config_autodelink X-Git-Tag: v3.4-rc1~184^2~22^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4898e07174b79013afd2b422ef6c4336ef8e6783;p=pandora-kernel.git USB: ums_realtek: do not use stack memory for DMA in __do_config_autodelink __do_config_autodelink passes the data variable to the transport function. If the calling functions pass a stack variable, this will eventually trigger a DMA-API debug backtrace for mapping stack memory in the DMA buffer. Fix this by calling kmemdup for the passed data instead. Signed-off-by: Josh Boyer Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed