diff options
author | Thomas Hellstrom <unichrome@shipmail.org> | 2005-07-15 21:22:51 +0000 |
---|---|---|
committer | Thomas Hellstrom <unichrome@shipmail.org> | 2005-07-15 21:22:51 +0000 |
commit | 567113788c030b367a28ea9253fbf34beef2789e (patch) | |
tree | 440552ee7a5cbd7b72b07f41fa5a0d036e349d6a /shared-core/via_video.c | |
parent | 5a5478de7ab4ee2eef0308d8b4ce5c53222cd55e (diff) |
VIA: Fix sparse warnings (Alexey Dobriyan)
Diffstat (limited to 'shared-core/via_video.c')
-rw-r--r-- | shared-core/via_video.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shared-core/via_video.c b/shared-core/via_video.c index 37a61c67..1e2d4445 100644 --- a/shared-core/via_video.c +++ b/shared-core/via_video.c @@ -76,7 +76,8 @@ via_decoder_futex(DRM_IOCTL_ARGS) DRM_DEBUG("%s\n", __FUNCTION__); - DRM_COPY_FROM_USER_IOCTL(fx, (drm_via_futex_t *) data, sizeof(fx)); + DRM_COPY_FROM_USER_IOCTL(fx, (drm_via_futex_t __user *) data, + sizeof(fx)); if (fx.lock > VIA_NR_XVMC_LOCKS) return -EFAULT; |