diff options
author | Johan Hovold <johan@kernel.org> | 2021-01-04 15:50:07 +0100 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2021-01-04 16:30:09 +0100 |
commit | 54d0a3ab80f49f19ee916def62fe067596833403 (patch) | |
tree | a6f7c513df2778bd4535285227a594b96bc28c46 /.clang-format | |
parent | USB: serial: option: add LongSung M5710 module support (diff) | |
download | linux-54d0a3ab80f49f19ee916def62fe067596833403.tar.xz linux-54d0a3ab80f49f19ee916def62fe067596833403.zip |
USB: serial: iuu_phoenix: fix DMA from stack
Stack-allocated buffers cannot be used for DMA (on all architectures) so
allocate the flush command buffer using kmalloc().
Fixes: 60a8fc017103 ("USB: add iuu_phoenix driver")
Cc: stable <stable@vger.kernel.org> # 2.6.25
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions