mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: John M Flinchbaugh <glynis@butterfly.hjsoft.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [2.5.70] oops when rmmod yenta_socket
Date: Tue, 27 May 2003 11:21:26 -0400	[thread overview]
Message-ID: <20030527152126.GA16383@butterfly.hjsoft.com> (raw)
In-Reply-To: <20030527140805.D16734@flint.arm.linux.org.uk>

[-- Attachment #1: Type: text/plain, Size: 1100 bytes --]

On Tue, May 27, 2003 at 02:08:05PM +0100, Russell King wrote:
> 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);
>  }

it worked nicely.  thank you.
-- 
____________________}John Flinchbaugh{______________________
| glynis@hjsoft.com         http://www.hjsoft.com/~glynis/ |
~~Powered by Linux: Reboots are for hardware upgrades only~~

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2003-05-27 15:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-27 12:49 John M Flinchbaugh
2003-05-27 13:08 ` Russell King
2003-05-27 15:21   ` John M Flinchbaugh [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=20030527152126.GA16383@butterfly.hjsoft.com \
    --to=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

all inboxes | Powered by JetHome®