vxge: use pci_dma_mapping_error to test return value
authorDenis Kirjanov <kirjanov@gmail.com>
Sun, 10 Jan 2010 21:40:10 +0000 (13:40 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 Jan 2010 21:40:10 +0000 (13:40 -0800)
commitfa15e99b6bb44aa86b241a43ca8c509e91f80153
treef6187574229573fca8801e7a1a140bf89bc581bf
parent31b683b6444c4d207126b07f433e0e66da142264
vxge: use pci_dma_mapping_error to test return value

pci_dma_mapping_error should be used to test return value of
pci_map_single or pci_map_page.

Signed-off-by: Denis Kirjanov <kirjanov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxge/vxge-main.c