From: Adam Cozzette Date: Wed, 24 Aug 2011 18:22:37 +0000 (-0600) Subject: ums_realtek: do not use stack memory for DMA X-Git-Tag: v3.2-rc1~183^2~179^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=065e60964e293227e4feb0c1f7e27e609316ed9a;p=pandora-kernel.git ums_realtek: do not use stack memory for DMA This patch changes rts51x_read_mem, rts51x_write_mem, and rts51x_read_status to allocate temporary buffers with kmalloc. This way stack addresses are not used for DMA when these functions call rts51x_bulk_transport. Signed-off-by: Adam Cozzette Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed