lkml.org 
[lkml]   [1998]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPatch to sb_mixer.c in cvs kernel
Was playing with the cvs kernel, and anytime sb sound was configured, it
panic'ed upon boot. Looked at the source, and it seemed to be an obvious
problem. (hope I didn't break anything :)

[currently my email subscribed to linux-kernel's domain is messed up, cc
anything to abob@psu.edu if you want it to get to me ;]

--- sb_mixer.c Sat Mar 28 03:05:47 1998
+++ sb_mixer.c.new Sat Mar 28 03:09:45 1998
@@ -462,9 +462,9 @@
}

if (devc->submodel != SUBMDL_ALS007)
- memcpy ((char *) mixer_devs[num_mixers], (char *) &sb_mixer_operations, sizeof (struct mixer_operations));
+ memcpy ((char *) mixer_devs[m], (char *) &sb_mixer_operations, sizeof (struct mixer_operations));
else
- memcpy ((char *) mixer_devs[num_mixers], (char *) &als007_mixer_operations, sizeof (struct mixer_operations));
+ memcpy ((char *) mixer_devs[m], (char *) &als007_mixer_operations, sizeof (struct mixer_operations));

mixer_devs[m]->devc = devc;
devc->my_mixerdev = m;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.019 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site