From: Peter Korsgaard Date: Mon, 14 Jul 2008 07:07:32 +0000 (+0200) Subject: dm9601: don't do usb transfers of data on stack X-Git-Tag: v2.6.27-rc2~102^2~21^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16d78bc255a55d16c0888dde336978d633e80b01;p=pandora-kernel.git dm9601: don't do usb transfers of data on stack dm_{read,write}() were doing USB transfers of data on stack, which isn't allowed. Fix it by kmalloc'ing a temporary buffer. Clean up the error handling for short transfers while we're at it. Signed-off-by: Peter Korsgaard Acked-by: David Brownell Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed