Skip to content
Snippets Groups Projects
Commit 6d317482 authored by Christian Eggers's avatar Christian Eggers Committed by David S. Miller
Browse files

usb/mcs7830: Don't use buffers from stack for USB transfers


mcs7830_set_reg() and mcs7830_get_reg() are called with buffers
from stack which must not be used directly for USB transfers.
This causes corruption of the stack particulary on non x86
architectures because DMA may be used for these transfers.

Signed-off-by: default avatarChristian Eggers <christian.eggers@kathrein.de>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0b491eee
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment