From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] More PCI fixes for 2.6.10-rc2
Date: Tue, 30 Nov 2004 16:10:04 -0800 [thread overview]
Message-ID: <1101859804154@kroah.com> (raw)
In-Reply-To: <11018598042649@kroah.com>
ChangeSet 1.2223.2.5, 2004/11/30 11:54:13-08:00, greg@kroah.com
PCI: fix build warning in pci-sysfs.c
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/pci/pci-sysfs.c | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
diff -Nru a/drivers/pci/pci-sysfs.c b/drivers/pci/pci-sysfs.c
--- a/drivers/pci/pci-sysfs.c 2004-11-30 15:47:05 -08:00
+++ b/drivers/pci/pci-sysfs.c 2004-11-30 15:47:05 -08:00
@@ -45,8 +45,7 @@
static ssize_t local_cpus_show(struct device *dev, char *buf)
{
- struct pci_dev *pdev = to_pci_dev(dev);
- cpumask_t mask = pcibus_to_cpumask(pdev->bus->number);
+ cpumask_t mask = pcibus_to_cpumask(to_pci_dev(dev)->bus->number);
int len = cpumask_scnprintf(buf, PAGE_SIZE-2, mask);
strcat(buf,"\n");
return 1+len;
prev parent reply other threads:[~2004-12-01 0:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-01 0:09 [BK PATCH] More PCI fixes for 2.6.10-rc2 Greg KH
2004-12-01 0:10 ` [PATCH] " Greg KH
2004-12-01 0:10 ` Greg KH
2004-12-01 0:10 ` Greg KH
2004-12-01 0:10 ` Greg KH
2004-12-01 0:10 ` Greg KH [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=1101859804154@kroah.com \
--to=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