drm/nv50-/fb: use dma_mapping_error() to check dma_map_page() result
authorBen Skeggs <bskeggs@redhat.com>
Tue, 5 Aug 2014 12:03:49 +0000 (22:03 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Sat, 9 Aug 2014 19:12:52 +0000 (05:12 +1000)
commit838f6fe7e470b7cd322b7c3e5ac8c0e09e580194
tree665b38f4ff69c9fce2db5a0eadc8767bc490ec87
parent9cba5efab5a8145ae6c52ea273553f069c294482
drm/nv50-/fb: use dma_mapping_error() to check dma_map_page() result

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/fb/nv50.c
drivers/gpu/drm/nouveau/core/subdev/fb/nvc0.c