staging: rtl8192e: Fix failure to check pci_map_single()
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 27 Dec 2012 02:51:12 +0000 (20:51 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 20:57:27 +0000 (12:57 -0800)
commit2dcb4a298cd9ffdd5b53437430863c80a868dc90
tree65c5ade903cbcaecf92e4fa46a886aad88c967ca
parent0d826c3919ceede3c6afc3e87fc7087e0c863e7e
staging: rtl8192e: Fix failure to check pci_map_single()

Beginning with kernel 3.8, the DMA mapping routines issue a warning
for the first call to pci_map_single() that is not checked with a
pci_dma_mapping_error() call.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
drivers/staging/rtl8192e/rtl8192e/rtl_core.c