diff options
author | Jiri Kosina <jkosina@suse.cz> | 2013-09-02 11:43:00 (GMT) |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-09-02 11:43:00 (GMT) |
commit | 6c2794a2984f4c17a58117a68703cc7640f01c5a (patch) | |
tree | a7bb9e4bf20f644dfb4e28d96b9bcad4b6fbf372 /drivers/tty/serial/efm32-uart.c | |
parent | a4be0ed39f2b1ea990804ea54e39bc42d17ed5a5 (diff) | |
download | linux-fsl-qoriq-6c2794a2984f4c17a58117a68703cc7640f01c5a.tar.xz |
HID: battery: don't do DMA from stack
Instead of using data from stack for DMA in hidinput_get_battery_property(),
allocate the buffer dynamically.
Cc: stable@kernel.org
Reported-by: Richard Ryniker <ryniker@alum.mit.edu>
Reported-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/tty/serial/efm32-uart.c')
0 files changed, 0 insertions, 0 deletions