diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2005-07-27 14:43:56 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 19:25:54 -0400 |
commit | bbaf364103cee15c895e2086723d0ad9ef47ae99 (patch) | |
tree | 50ba44d1a55f00c2d328a6943acc4495337b7020 /drivers/char/drm/via_video.c | |
parent | db1de1595d03d3ddea3e0548b20decb0a32e4258 (diff) |
[PATCH] drm: via: fix sparse warnings
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Dave Airlie <airlied@linux.ie>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/drm/via_video.c')
-rw-r--r-- | drivers/char/drm/via_video.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/drm/via_video.c b/drivers/char/drm/via_video.c index 37a61c67b292..1e2d444587bf 100644 --- a/drivers/char/drm/via_video.c +++ b/drivers/char/drm/via_video.c | |||
@@ -76,7 +76,8 @@ via_decoder_futex(DRM_IOCTL_ARGS) | |||
76 | 76 | ||
77 | DRM_DEBUG("%s\n", __FUNCTION__); | 77 | DRM_DEBUG("%s\n", __FUNCTION__); |
78 | 78 | ||
79 | DRM_COPY_FROM_USER_IOCTL(fx, (drm_via_futex_t *) data, sizeof(fx)); | 79 | DRM_COPY_FROM_USER_IOCTL(fx, (drm_via_futex_t __user *) data, |
80 | sizeof(fx)); | ||
80 | 81 | ||
81 | if (fx.lock > VIA_NR_XVMC_LOCKS) | 82 | if (fx.lock > VIA_NR_XVMC_LOCKS) |
82 | return -EFAULT; | 83 | return -EFAULT; |