From: Daniel Ritz <daniel.ritz@gmx.ch>
To: "linux-kernel" <linux-kernel@vger.kernel.org>
Subject: [PATCH 2.5] OSS mpu401 exit fix
Date: Wed, 22 Jan 2003 16:37:22 +0100 [thread overview]
Message-ID: <200301221637.22120.daniel.ritz@gmx.ch> (raw)
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 */
next reply other threads:[~2003-01-22 15:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-22 15:37 Daniel Ritz [this message]
2003-01-28 13:09 ` [PATCH 2.5] OSS mpu401 exit fix Alan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200301221637.22120.daniel.ritz@gmx.ch \
--to=daniel.ritz@gmx.ch \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox