commit | 6d317482944250228255bcbe97a95b7e7ad9a538 | [log] [tgz] |
---|---|---|
author | Christian Eggers <christian.eggers@kathrein.de> | Wed Jan 21 12:56:24 2009 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 21 12:56:24 2009 -0800 |
tree | 699fd50b7ff360c0cb0c82cf1f28388d8996d461 | |
parent | 0b491eee46012772cbf029450d123e933c2e7940 [diff] |
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: Christian Eggers <christian.eggers@kathrein.de> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>