drm/radeon/kms: add missing copy from user
authorDr. David Alan Gilbert <linux@treblig.org>
Sun, 1 Aug 2010 23:43:52 +0000 (09:43 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 9 Aug 2010 22:13:55 +0000 (08:13 +1000)
commitd8ab35575098b2d6dc10b2535aeb40545933ae56
tree7eb2c3fd7dc881f95b0d854c5f9133fdf74cecee
parent96576a9e1a0cdb8a43d3af5846be0948f52b4460
drm/radeon/kms: add missing copy from user

This hasn't mattered up until the ioctl started using the value, and it fell
apart.

fixes fd.o 29340, Ubuntu LP 606081

[airlied: cleaned up whitespace and don't need an error before pushing]

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_kms.c