+42
−10
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>