lkml.org 
[lkml]   [1999]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patches in this message
/
Date
From
SubjectPatch for soundcard.c for 2.3.28
Is there some reason the forwarded patch go lost in the shuffle?  The
problem noted continues through 2.3.28, although in my case it resulted
in an "operation not permitted" message rather than an oops. Inserting
the noted missing break statement restores functionality. Here is the
fix rediffed for 2.3.28. It is against linux/drivers/sound/soundcard.c:

--- soundcard.c.old Sun Nov 14 22:59:58 1999
+++ soundcard.c Sun Nov 14 23:00:42 1999
@@ -382,6 +382,7 @@
switch (dev & 0x0f) {
case SND_DEV_STATUS:
ret = sndstat_file_read(file, buf, count, ppos);
+ break;

#ifdef CONFIG_AUDIO
case SND_DEV_DSP:
---------- Forwarded message ----------
Date: Thu, 28 Oct 1999 15:35:48 +0200
From: Thomas Leineweber <thomas@ufc.uni-dortmund.de>
To: linux-kernel@vger.rutgers.edu
Cc: alan@redhat.com
Subject: Patch for soundcard.c
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:

-
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/

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