Staging: rtl8192u: Do not DMA on the stack
authorKsenija Stanojevic <ksenija.stanojevic@gmail.com>
Thu, 8 Oct 2015 15:21:49 +0000 (17:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 03:40:48 +0000 (20:40 -0700)
commit075eb0dc3670328fa62425449ca4b52bde2d3c17
tree33a7a112c291b73f476449dc380f8e7b8dee1774
parent806e6e1bec9c2e7a749748f4edb2e812b6b2fdeb
Staging: rtl8192u: Do not DMA on the stack

Fix error "doing DMA on the stack" by using kzalloc for buffer
allocation.
Issue found by smatch.

Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_core.c
This page took 0.025772 seconds and 5 git commands to generate.