diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-07-14 09:07:32 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-07-30 10:43:49 +0200 |
commit | 16d78bc255a55d16c0888dde336978d633e80b01 (patch) | |
tree | 377b96ddf4439e2f3d775124c22576125ca5c4e3 /drivers/pcmcia/ti113x.h | |
parent | S2io: fix statistics flush after a MTU change (diff) | |
download | linux-16d78bc255a55d16c0888dde336978d633e80b01.tar.xz linux-16d78bc255a55d16c0888dde336978d633e80b01.zip |
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 <jacmet@sunsite.dk>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/pcmcia/ti113x.h')
0 files changed, 0 insertions, 0 deletions