Patch for soundcard.c

Thomas Leineweber (thomas@ufc.uni-dortmund.de)
Thu, 28 Oct 1999 15:35:48 +0200


Hi,

as of 2.3.24 there is a "break"-statement missing in drivers/sound/soundcard.c
It causes on Ooops on accessing /dev/sndstat. A patch is attached:

--- linux/drivers/sound/soundcard.c Sat Oct 2 16:49:30 1999
+++ linux.new/drivers/sound/soundcard.c Thu Oct 28 15:16:04 1999
@@ -390,6 +390,7 @@
switch (dev & 0x0f) {
case SND_DEV_STATUS:
ret = sndstat_file_read(file, buf, count, ppos);
+ break;

#ifdef CONFIG_AUDIO
case SND_DEV_DSP:

Thomas

-- 
Thomas Leineweber

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/