OSDN Git Service

staging: vt6656: use off stack for in buffer USB transfers.
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 22 Apr 2017 10:14:58 +0000 (11:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 May 2017 12:28:35 +0000 (14:28 +0200)
commit3eff228fdd43a9d5f242c6a8e5d69a1cb68a27eb
treec349756436c90d0f5a0ac68f0467338b9f321846
parent6312a84dc8b5896efbbb4255061bf6b3b6c5922d
staging: vt6656: use off stack for in buffer USB transfers.

commit 05c0cf88bec588a7cb34de569acd871ceef26760 upstream.

Since 4.9 mandated USB buffers to be heap allocated. This causes
the driver to fail.

Create buffer for USB transfers.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/usbpipe.c