]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] typo in OSS sparse __user annotations
authorAdam Kropelin <akropel1@rochester.rr.com>
Sat, 29 May 2004 06:12:44 +0000 (23:12 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 29 May 2004 06:12:44 +0000 (23:12 -0700)
Fix a missing initialization in the sparse __user annotation work for OSS.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
sound/oss/aci.c

index 5c3c7e5996752a778446187a6c03b28508b43c95..ac3c481aa1f2f0a8617d685579fd716e8dde97ae 100644 (file)
@@ -362,7 +362,7 @@ static int getequalizer(int __user *arg,
 static int aci_mixer_ioctl (int dev, unsigned int cmd, void __user * arg)
 {
        int vol, buf;
-       int __user *p;
+       int __user *p = arg;
 
        switch (cmd) {
        case SOUND_MIXER_WRITE_VOLUME: