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)
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>

No differences found