From: Russell King <rmk@arm.linux.org.uk>
To: John M Flinchbaugh <glynis@butterfly.hjsoft.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.5.70] oops when rmmod yenta_socket
Date: Tue, 27 May 2003 14:08:05 +0100 [thread overview]
Message-ID: <20030527140805.D16734@flint.arm.linux.org.uk> (raw)
In-Reply-To: <20030527124952.GB13051@butterfly.hjsoft.com>; from glynis@butterfly.hjsoft.com on Tue, May 27, 2003 at 08:49:52AM -0400
On Tue, May 27, 2003 at 08:49:52AM -0400, John M Flinchbaugh wrote:
> i shutdown pcmcia and tried to rmmod yenta_socket, and i got the oops
> below at the end of this dmesg. so far, 2.5.70 has looked alot like
> 2.5.69-bk11 that i'd been running before.
Try this patch, thanks to Pavel Roskin for this.
--- linux.orig/drivers/pcmcia/pci_socket.c
+++ linux/drivers/pcmcia/pci_socket.c
@@ -196,9 +196,9 @@ static void __devexit cardbus_remove (st
pci_socket_t *socket = pci_get_drvdata(dev);
/* note: we are already unregistered from the cs core */
+ class_device_unregister(&socket->cls_d.class_dev);
if (socket->op && socket->op->close)
socket->op->close(socket);
- class_device_unregister(&socket->cls_d.class_dev);
pci_set_drvdata(dev, NULL);
}
--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html
next prev parent reply other threads:[~2003-05-27 12:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-27 12:49 [2.5.70] oops when rmmod yenta_socket John M Flinchbaugh
2003-05-27 13:08 ` Russell King [this message]
2003-05-27 15:21 ` John M Flinchbaugh
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=20030527140805.D16734@flint.arm.linux.org.uk \
--to=rmk@arm.linux.org.uk \
--cc=glynis@butterfly.hjsoft.com \
--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).