summaryrefslogtreecommitdiffstats
path: root/block/blk-ioc.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2012-05-30 10:09:30 -0400
committerDave Airlie <airlied@redhat.com>2012-06-01 17:00:21 +0100
commit9b00147d9f2ba137ce74b66b768a8312be0b6781 (patch)
treebc37f50072056deb5bfa586db8aeae67cd20afcf /block/blk-ioc.c
parent0824db38e515644f8d1bfd64adbd7cb2c6ea7c62 (diff)
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 <michael.burian@sbg.at> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Jerome Glisse <jglisse@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'block/blk-ioc.c')
0 files changed, 0 insertions, 0 deletions