From: Matt Carlson Date: Mon, 2 Nov 2009 14:25:31 +0000 (+0000) Subject: tg3: Add more PCI DMA map error checking X-Git-Tag: v2.6.33-rc1~388^2~550 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a21771dd189b340328c573da9e005068e8a74c53;p=pandora-kernel.git 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 Signed-off-by: Michael Chan Signed-off-by: Benjamin Li Signed-off-by: David S. Miller --- Reading git-diff-tree failed