]> git.baikalelectronics.ru Git - kernel.git/commit
staging: slicoss: fix dma memory leak
authorDavid Matlack <dmatlack@google.com>
Tue, 6 May 2014 04:02:35 +0000 (21:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 11:08:34 +0000 (20:08 +0900)
commit9fd9a8cb3620e4d7a706b6e0dca11b7eee27bf4c
treeca5c53da2aa2f7d3f35447e30f2b8d44fb13be84
parentb3f39a2eb13509331c127700b7cc662f2b807e3c
staging: slicoss: fix dma memory leak

This patch fixes a memory leak in slic_card_init. If the driver fails
to poll for an interrupt after requesting config data from the device
the dma memory is never freed.

Signed-off-by: David Matlack <dmatlack@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/slicoss/slicoss.c