aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/mga
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-07-06 02:00:00 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2017-07-06 02:00:00 -0400
commitb87b786b1fa1aa1bba33da22c8bb6b3ec7b608d2 (patch)
tree27484e31e1a541432a4ae860301e2b07f53760d4 /drivers/gpu/drm/mga
parentmga: switch compat ioctls to drm_ioctl_kernel() (diff)
downloadlinux-dev-b87b786b1fa1aa1bba33da22c8bb6b3ec7b608d2.tar.xz
linux-dev-b87b786b1fa1aa1bba33da22c8bb6b3ec7b608d2.zip
Fix trivial misannotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/gpu/drm/mga')
-rw-r--r--drivers/gpu/drm/mga/mga_ioc32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/mga/mga_ioc32.c b/drivers/gpu/drm/mga/mga_ioc32.c
index 85f1a9cd3f85..245fb2e359cf 100644
--- a/drivers/gpu/drm/mga/mga_ioc32.c
+++ b/drivers/gpu/drm/mga/mga_ioc32.c
@@ -115,7 +115,7 @@ static int compat_mga_dma_bootstrap(struct file *file, unsigned int cmd,
unsigned long arg)
{
drm_mga_dma_bootstrap32_t dma_bootstrap32;
- drm_mga_dma_bootstrap_t __user dma_bootstrap;
+ drm_mga_dma_bootstrap_t dma_bootstrap;
int err;
if (copy_from_user(&dma_bootstrap32, (void __user *)arg,