]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: keyspan: fix port DMA-buffer allocations
authorJohan Hovold <jhovold@gmail.com>
Tue, 13 Aug 2013 11:27:37 +0000 (13:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Aug 2013 20:51:02 +0000 (13:51 -0700)
commitbad41a5bf1775cdf6026d5a1b233bdc4853f27ca
treef3e75a02337bad3cd38ddfbf8d1fa37290dd9cb7
parent2fcd1c9b327c23414a5215a0fa53df9d75871a46
USB: keyspan: fix port DMA-buffer allocations

Make sure port DMA-buffers are allocated separately from containing
structure to prevent potential memory corruption on non-cache-coherent
systems.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/keyspan.c