Skip to contentSkip to conversation

hwdep_compat missed __user annotations

PATCH New Al Viro 1 participant 1 message Oct 10, 2006 Sound

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 hwdep_compat missed __user annotations

---
 sound/core/hwdep_compat.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/core/hwdep_compat.c +1 -1
index 938f775..3827c0c 100644
@@ -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;
 
Signature · 1 line
1.4.2.GIT