From: Miles Lane <miles.lane@attbi.com>
To: Greg KH <greg@kroah.com>, linux-kernel@vger.kernel.org
Subject: Looks like your PCI patch broke the PPC build (and others)?
Date: Wed, 11 Jun 2003 12:15:34 -0700 [thread overview]
Message-ID: <3EE77FD6.9020502@attbi.com> (raw)
http://marc.theaimsgroup.com/?l=linux-kernel&m=105527406918793&w=2
CC drivers/pci/probe.o
drivers/pci/probe.c: In function `pci_scan_device':
drivers/pci/probe.c:532: dereferencing pointer to incomplete type
make[3]: *** [drivers/pci/probe.o] Error 1
--------------
diff -Nru a/drivers/pci/probe.c b/drivers/pci/probe.c
--- a/drivers/pci/probe.c Tue Jun 10 11:16:11 2003
+++ b/drivers/pci/probe.c Tue Jun 10 11:16:11 2003
@@ -529,7 +529,8 @@
pci_name_device(dev);
/* now put in global tree */
- strcpy(dev->dev.bus_id,dev->slot_name);
+ sprintf(dev->dev.bus_id, "%04x:%s", pci_domain_nr(bus),
+ dev->slot_name);
dev->dev.dma_mask = &dev->dma_mask;
return dev;
next reply other threads:[~2003-06-11 19:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-11 19:15 Miles Lane [this message]
2003-06-11 20:28 ` Looks like your PCI patch broke the PPC build (and others)? Greg KH
2003-06-12 7:10 ` Paul Mackerras
2003-06-12 13:35 ` Benjamin Herrenschmidt
2003-06-12 22:31 ` Paul Mackerras
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=3EE77FD6.9020502@attbi.com \
--to=miles.lane@attbi.com \
--cc=greg@kroah.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