diff options
author | 2014-05-28 22:40:00 -0600 | |
---|---|---|
committer | 2014-05-29 11:19:30 -0700 | |
commit | 05dfa5c9bc37933181b619e42ec0eeb41ef31362 (patch) | |
tree | ebfb9688445978d2e69b9638d0308dd7692fd320 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | usb: host: max3421-hcd: Fix missing unlock in max3421_urb_enqueue() (diff) | |
download | linux-dev-05dfa5c9bc37933181b619e42ec0eeb41ef31362.tar.xz linux-dev-05dfa5c9bc37933181b619e42ec0eeb41ef31362.zip |
usb: host: max3421-hcd: fix "spi_rd8" uses dynamic stack allocation warning
kmalloc the SPI rx and tx data buffers. This appears to be the only
portable way to guarantee that the buffers are DMA-safe (e.g., in
separate DMA cache-lines). This patch makes the spi_rdX()/spi_wrX()
non-reentrant, but that's OK because calls to them are guaranteed to
be serialized by the per-HCD SPI-thread.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: David Mosberger <davidm@egauge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions