drm/radeon: check alloc_apertures() success in radeon_kick_out_firmware_fb()
authorTommi Rantala <tt.rantala@gmail.com>
Fri, 9 Nov 2012 09:19:39 +0000 (09:19 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Nov 2012 06:06:27 +0000 (16:06 +1000)
commit302381511f4b1bc98c6f61ccaec5d8e98ccd0365
tree8b27820e0bb4a72aa328a46385aa4ace2109bfdd
parentb0e77f45a6da3f361d69680baeb0e133d0bc46c0
drm/radeon: check alloc_apertures() success in radeon_kick_out_firmware_fb()

Check for alloc_apertures() memory allocation failure, and propagate an
error code in case the allocation failed.

Signed-off-by: Tommi Rantala <tt.rantala@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_drv.c