diff options
author | Ethan Zonca <e@ethanzonca.com> | 2017-02-24 16:27:36 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-12 05:41:48 (GMT) |
commit | cec7abd27e878e3c83dc9af41ee87a2e9d483ac0 (patch) | |
tree | c04744e1e3c45a21d4f16ef189ba8f85db326b65 /drivers/misc/c2port | |
parent | a34546c6234e77dc98f5ac40ad64ee5429c986e6 (diff) | |
download | linux-cec7abd27e878e3c83dc9af41ee87a2e9d483ac0.tar.xz |
can: gs_usb: Don't use stack memory for USB transfers
commit c919a3069c775c1c876bec55e00b2305d5125caa upstream.
Fixes: 05ca5270005c can: gs_usb: add ethtool set_phys_id callback to locate physical device
The gs_usb driver is performing USB transfers using buffers allocated on
the stack. This causes the driver to not function with vmapped stacks.
Instead, allocate memory for the transfer buffers.
Signed-off-by: Ethan Zonca <e@ethanzonca.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/c2port')
0 files changed, 0 insertions, 0 deletions