Staging: most: fix doing DMA on stack
authorChristian Gromm <christian.gromm@microchip.com>
Thu, 30 Jul 2015 16:18:55 +0000 (18:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 Jul 2015 23:17:20 +0000 (16:17 -0700)
commit412c8232edfac024ed22bd1424f37f68fcbb555c
treec5443910d6d5a4867737cf1c52b9405d24748796
parent3f78f6116d581e1342f56a4dacdd576d79b054c4
Staging: most: fix doing DMA on stack

This patch fixes error "doing DMA on the stack" by using kzalloc
for buffer allocation.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/hdm-usb/hdm_usb.c