atl1c: add error checking for pci_map_single functions
authorHuang, Xiong <xiong@qca.qualcomm.com>
Mon, 11 Feb 2013 14:44:40 +0000 (14:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Feb 2013 18:32:37 +0000 (13:32 -0500)
commitac574804d412047e52de4dd887615cc88f58aeb0
treefb7472fb24ab92117a4621c449efbb90da02ed17
parent9c10f4115cc3722635d6e277385ec96003281784
atl1c: add error checking for pci_map_single functions

it is reported that code hit DMA-API errors on 3.8-rc6+,
(see https://bugzilla.redhat.com/show_bug.cgi?id=908436, and
     https://bugzilla.redhat.com/show_bug.cgi?id=908550)

this patch just adds error handler for
    pci_map_single and skb_frag_dma_map.

Signed-off-by: xiong <xiong@qca.qualcomm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/atl1c/atl1c_main.c