drm/radeon: Don't dereference possibly-NULL pointer.
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 29 Mar 2012 14:47:43 +0000 (16:47 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 2 Apr 2012 10:09:50 +0000 (11:09 +0100)
commite199fd422420d1620cf64fd9bdd4ff8bc255cc76
tree305939ba483e3c935a29aea84c624a536e68e353
parentfa9e855025b19e96e493ee00de7d933a9794f742
drm/radeon: Don't dereference possibly-NULL pointer.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_object.c