drm: radeon: check kzalloc() result
authorKulikov Vasiliy <segooon@gmail.com>
Fri, 16 Jul 2010 16:13:33 +0000 (20:13 +0400)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Jul 2010 05:24:08 +0000 (15:24 +1000)
commitbbb642f9c9a43dbe45ffe14935397a2a34100263
treec50ea5a7f71d404abf11780e7b5669449462f918
parent1e8655f87333def92bb8215b423adc65403b08a5
drm: radeon: check kzalloc() result

If kzalloc() fails exit with -ENOMEM.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r300.c