]> git.baikalelectronics.ru Git - kernel.git/commit
USB: quatech2: fix port DMA-buffer allocations
authorJohan Hovold <jhovold@gmail.com>
Tue, 13 Aug 2013 11:27:39 +0000 (13:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Aug 2013 20:51:02 +0000 (13:51 -0700)
commitef28e70ee18872b44e45b42cee6854d31b23cea9
tree5c8c15d42981e6b5f7583e78ca8586617abc024d
parent03db5fdca97ad5e01d47d9b64f7b927bc823bdac
USB: quatech2: fix port DMA-buffer allocations

Make sure serial 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/quatech2.c