]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite9f5e4186a4f8d53f17c4b12722db6aff6125b72
tree8b27820e0bb4a72aa328a46385aa4ace2109bfdd
parent0d2320d0f588ef794e40260fad4ad590ac55b08e
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