diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-08-10 04:48:58 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-08-11 23:38:29 (GMT) |
commit | a30f6fb7ce86275af16c7a00dc1b1e46cbb99692 (patch) | |
tree | 2097765b7dd20577bca52781d7f216c9d1829244 /drivers/atm | |
parent | 1a72d65d6291ec248cbc5f05df2487edd714aba6 (diff) | |
download | linux-fsl-qoriq-a30f6fb7ce86275af16c7a00dc1b1e46cbb99692.tar.xz |
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>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions