From: Andrew Morton <akpm@osdl.org>
To: Balram Adlakha <b_adlakha@softhome.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: devfs_remove call when not using devfs 2.6.0-test1
Date: Sat, 26 Jul 2003 01:53:26 -0700 [thread overview]
Message-ID: <20030726015326.41b21ae4.akpm@osdl.org> (raw)
In-Reply-To: <20030724184301.GA7044@localhost.localdomain>
Balram Adlakha <b_adlakha@softhome.net> wrote:
>
> I get the following when I remove the OSS emu10k1 module:
>
> Call Trace:
> [<c018e261>] devfs_remove+0x9e/0xa0
> [<c013898a>] unmap_vmas+0xcb/0x214
> [<d29e3e2d>] oss_cleanup+0x2b/0xed [sound]
> [<c0129c1e>] sys_delete_module+0x152/0x1a8
> [<c0130064>] generic_file_aio_write_nolock+0x8a7/0xa6a
> [<c013be3c>] sys_munmap+0x57/0x75
> [<c0108f81>] sysenter_past_esp+0x52/0x71
>
> I'm not using devfs so it should not happen.
Does this fix it?
diff -puN sound/oss/soundcard.c~soundcard-devfs-fix sound/oss/soundcard.c
--- 25/sound/oss/soundcard.c~soundcard-devfs-fix 2003-07-26 01:52:55.000000000 -0700
+++ 25-akpm/sound/oss/soundcard.c 2003-07-26 01:52:59.000000000 -0700
@@ -592,7 +592,7 @@ static void __exit oss_cleanup(void)
int i, j;
for (i = 0; i < sizeof (dev_list) / sizeof *dev_list; i++) {
- devfs_remove("snd/%s", dev_list[i].name);
+ devfs_remove("sound/%s", dev_list[i].name);
if (!dev_list[i].num)
continue;
for (j = 1; j < *dev_list[i].num; j++)
_
prev parent reply other threads:[~2003-07-26 8:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-24 18:43 devfs_remove call when not using devfs 2.6.0-test1 Balram Adlakha
2003-07-26 8:53 ` Andrew Morton [this message]
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=20030726015326.41b21ae4.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=b_adlakha@softhome.net \
--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;
as well as URLs for NNTP newsgroup(s).