From: Alex Deucher Date: Wed, 30 May 2012 14:09:30 +0000 (-0400) Subject: drm/radeon: fix regression in UMS CS ioctl X-Git-Tag: v3.5-rc1~12^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b00147d9f2ba137ce74b66b768a8312be0b6781;p=pandora-kernel.git drm/radeon: fix regression in UMS CS ioctl radeon_cs_parser_init is called by both the legacy UMS CS ioctl and the KMS CS ioctl. Protect KMS specific pieces of the code by checking that rdev is not NULL. Reported-by: Michael Burian Signed-off-by: Alex Deucher Reviewed-by: Jerome Glisse Cc: stable@vger.kernel.org Signed-off-by: Dave Airlie --- Reading git-diff-tree failed