aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorAdam Kropelin <akropel1@rochester.rr.com>2004-05-28 23:12:44 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-05-28 23:12:44 -0700
commitf055cb9a57572cf9434e281c71c95bd19dcbff21 (patch)
treee077f698b0e9fc92890856098e349d718c4bca7b /sound
parent7060577bcad260ab8f474c29048c0e3b29b58f7a (diff)
downloadhistory-f055cb9a57572cf9434e281c71c95bd19dcbff21.tar.gz
[PATCH] typo in OSS sparse __user annotations
Fix a missing initialization in the sparse __user annotation work for OSS. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/oss/aci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/aci.c b/sound/oss/aci.c
index 5c3c7e5996752a..ac3c481aa1f2f0 100644
--- a/sound/oss/aci.c
+++ b/sound/oss/aci.c
@@ -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: