From: Greg KH <greg@kroah.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: linux-kernel@vger.kernel.org, pcihpd-discuss@lists.sourceforge.net
Subject: Re: [BK PATCH] PCI hotplug changes for 2.5.63
Date: Sat, 1 Mar 2003 13:38:53 -0800 [thread overview]
Message-ID: <20030301213853.GA1975@kroah.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0303011053310.16800-100000@home.transmeta.com>
On Sat, Mar 01, 2003 at 10:55:50AM -0800, Linus Torvalds wrote:
>
> On Fri, 28 Feb 2003, Greg KH wrote:
> >
> > I've merged with your latest tree again, and it's available at the above
> > place. Could you please pull these changes?
>
> This causes
>
> drivers/built-in.o(.text+0xedc7e): In function `cb_free':
> : undefined reference to `pci_remove_device'
> make: *** [.tmp_vmlinux1] Error 1
>
> Ehh?
Oops, looks like Russell and I didn't test on a cardbus machine :)
I've made the following change to the repository, so you can just pull
it if you want to (from bk://kernel.bkbits.net/gregkh/linux/pci-2.5 ) or
you can just apply this patch.
It looks right to me, but I don't have a working cardbus machine at the
moment, so I can't test it, sorry.
Again, sorry about this.
greg k-h
# Cardbus: change cb_free to use pci_remove_device_safe()
diff -Nru a/drivers/pcmcia/cardbus.c b/drivers/pcmcia/cardbus.c
--- a/drivers/pcmcia/cardbus.c Sat Mar 1 13:49:27 2003
+++ b/drivers/pcmcia/cardbus.c Sat Mar 1 13:49:27 2003
@@ -313,7 +313,7 @@
s->cb_config = NULL;
for (i = 0 ; i < s->functions ; i++)
- pci_remove_device(&c[i].dev);
+ pci_remove_device_safe(&c[i].dev);
kfree(c);
printk(KERN_INFO "cs: cb_free(bus %d)\n", s->cap.cb_dev->subordinate->number);
next prev parent reply other threads:[~2003-03-01 21:37 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-25 1:13 [BK PATCH] PCI hotplug changes for 2.5.63 Greg KH
2003-02-25 1:15 ` [PATCH] " Greg KH
2003-02-25 1:15 ` Greg KH
2003-02-25 1:16 ` Greg KH
2003-02-25 1:16 ` Greg KH
2003-02-25 1:16 ` Greg KH
2003-02-25 1:16 ` Greg KH
2003-02-25 1:16 ` Greg KH
2003-02-25 1:16 ` Greg KH
2003-02-25 1:16 ` Greg KH
2003-02-25 1:16 ` Greg KH
2003-02-25 1:16 ` Greg KH
2003-02-25 1:16 ` Greg KH
2003-02-25 1:16 ` Greg KH
2003-02-25 1:16 ` Greg KH
2003-02-28 23:59 ` [BK PATCH] " Greg KH
2003-03-01 18:55 ` Linus Torvalds
2003-03-01 21:38 ` Greg KH [this message]
2003-03-01 22:00 ` Linus Torvalds
2003-03-01 22:25 ` Greg KH
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=20030301213853.GA1975@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pcihpd-discuss@lists.sourceforge.net \
--cc=torvalds@transmeta.com \
/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