public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.5] OSS mpu401 exit fix
@ 2003-01-22 15:37 Daniel Ritz
  2003-01-28 13:09 ` Alan
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Ritz @ 2003-01-22 15:37 UTC (permalink / raw)
  To: linux-kernel

hello

who is 2.5 OSS maintainer?

if it's not removed then it should be at least stable. patch to fix module
unload bug in mu401. io and irq can't be __initdata since they're used for
the exit function as well...

rgds,
-daniel


===== sound/oss/mpu401.c 1.9 vs edited =====
--- 1.9/sound/oss/mpu401.c	Mon Dec 30 04:18:41 2002
+++ edited/sound/oss/mpu401.c	Wed Jan 22 16:29:39 2003
@@ -1762,13 +1762,13 @@
 
 static struct address_info cfg;
 
-static int __initdata io = -1;
-static int __initdata irq = -1;
+static int io = -1;
+static int irq = -1;
 
 MODULE_PARM(irq, "i");
 MODULE_PARM(io, "i");
 
-int __init init_mpu401(void)
+static int __init init_mpu401(void)
 {
 	int ret;
 	/* Can be loaded either for module use or to provide functions
@@ -1785,7 +1785,7 @@
 	return 0;
 }
 
-void __exit cleanup_mpu401(void)
+static void __exit cleanup_mpu401(void)
 {
 	if (io != -1 && irq != -1) {
 		/* Check for use by, for example, sscape driver */


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 2.5] OSS mpu401 exit fix
  2003-01-22 15:37 [PATCH 2.5] OSS mpu401 exit fix Daniel Ritz
@ 2003-01-28 13:09 ` Alan
  0 siblings, 0 replies; 2+ messages in thread
From: Alan @ 2003-01-28 13:09 UTC (permalink / raw)
  To: Daniel Ritz; +Cc: Linux Kernel Mailing List

On Wed, 2003-01-22 at 15:37, Daniel Ritz wrote:
> hello
> 
> who is 2.5 OSS maintainer?

AFAIK it doesn't have one. 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-28 13:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-22 15:37 [PATCH 2.5] OSS mpu401 exit fix Daniel Ritz
2003-01-28 13:09 ` Alan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox