drm: drm_ioctl.c sync with fixes from CVS
Apply the fixes from CVS that were outstanding for this fileSigned-off-by: Dave Airlie <airlied@linux.ie>
authored by Dave Airlie and committed by Dave Airlie 20 years ago fe34765b b3a80a22