diff options
| author | Johan Hovold <johan@kernel.org> | 2021-01-04 15:50:07 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-12 19:47:56 +0100 |
| commit | f574f8108c268837746c46f1d9f3e6ffec72dbab (patch) | |
| tree | c2acabd03e019393b405a3fd22acdf8c12409e76 /tools/perf/scripts/python | |
| parent | 499f67025886574f5d622a24a153fb23b4e75173 (diff) | |
USB: serial: iuu_phoenix: fix DMA from stack
commit 54d0a3ab80f49f19ee916def62fe067596833403 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
