[PATCH] hwdep_compat missed __user annotations
authorAl Viro <viro@ftp.linux.org.uk>
Tue, 10 Oct 2006 21:45:27 +0000 (22:45 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Oct 2006 22:37:21 +0000 (15:37 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
sound/core/hwdep_compat.c

index 938f77580966fd2e66dca0d84f1f13997208ad4a..3827c0ceec8ff3cf5fc33e1f4b96e131439fe3a7 100644 (file)
@@ -33,7 +33,7 @@ struct snd_hwdep_dsp_image32 {
 static int snd_hwdep_dsp_load_compat(struct snd_hwdep *hw,
                                     struct snd_hwdep_dsp_image32 __user *src)
 {
-       struct snd_hwdep_dsp_image *dst;
+       struct snd_hwdep_dsp_image __user *dst;
        compat_caddr_t ptr;
        u32 val;