aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/sunhv.c
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2009-11-02 09:25:31 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-03 02:39:02 -0500
commita21771dd189b340328c573da9e005068e8a74c53 (patch)
tree84181a65a4e13edd6b14898e1747d8c84240c6c8 /drivers/serial/sunhv.c
parent52cdf8526fe24f11d300b75458ddee017f3f4c88 (diff)
tg3: Add more PCI DMA map error checking
This patch adds code to check the status of pci_map_single() before allowing rx buffers to be used. It also converts the pci_map_single() call in tg3_run_loopback() to use skb_dma_map() instead. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: Benjamin Li <benli@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/serial/sunhv.c')
0 files changed, 0 insertions, 0 deletions