From: Al Viro Date: Tue, 10 Oct 2006 21:45:27 +0000 (+0100) Subject: [PATCH] hwdep_compat missed __user annotations X-Git-Tag: v2.6.19-rc2~188 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=cb04e6b61985d7fafcb9529e5fcff4689f0961d3;p=linux-2.6-omap-h63xx.git [PATCH] hwdep_compat missed __user annotations Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/sound/core/hwdep_compat.c b/sound/core/hwdep_compat.c index 938f7758096..3827c0ceec8 100644 --- a/sound/core/hwdep_compat.c +++ b/sound/core/hwdep_compat.c @@ -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;