Home
last modified time | relevance | path

Searched hist:a30f6fb7ce86275af16c7a00dc1b1e46cbb99692 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_device.cdiff a30f6fb7ce86275af16c7a00dc1b1e46cbb99692 Mon Aug 09 23:48:58 CDT 2010 Benjamin Herrenschmidt <benh@kernel.crashing.org> drm/radeon: Fix pci_map_page() error checking

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>