diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-08-10 14:48:58 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-08-12 09:38:29 +1000 |
commit | a30f6fb7ce86275af16c7a00dc1b1e46cbb99692 (patch) | |
tree | 2097765b7dd20577bca52781d7f216c9d1829244 /crypto/krng.c | |
parent | 1a72d65d6291ec248cbc5f05df2487edd714aba6 (diff) | |
download | blackbird-op-linux-a30f6fb7ce86275af16c7a00dc1b1e46cbb99692.tar.gz blackbird-op-linux-a30f6fb7ce86275af16c7a00dc1b1e46cbb99692.zip |
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 'crypto/krng.c')
0 files changed, 0 insertions, 0 deletions