drm/radeon: fix NULL pointer dereference in UMS mode
authorIlija Hadzic <ihadzic@research.bell-labs.com>
Mon, 7 Jan 2013 23:21:57 +0000 (18:21 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 10 Jan 2013 22:05:35 +0000 (17:05 -0500)
commitff4bd0827764e10a428a9d39e6814c5478863f94
tree906790613778a0b113a17c9ebe5ba8e972218c8b
parent82ba789f48de669fd0bbc84c326f07571d078572
drm/radeon: fix NULL pointer dereference in UMS mode

In UMS mode parser->rdev is NULL, so dereferencing
will cause an oops.

Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_cs.c