drm/radeon: Fix pci_map_page() error checking
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 10 Aug 2010 04:48:58 +0000 (14:48 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 11 Aug 2010 23:38:29 +0000 (09:38 +1000)
0 is a valid DMA address from pci_map_page(), use pci_dma_mapping_error()
instead to check for errors

[airlied: fix warning + two other places with errors.]

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found