From: Tobias Klauser <tklauser@nuerscht.ch>
To: kernel-janitors@vger.kernel.org
Subject: [Kernel-janitors] [PATCH 2.6.9-rc2-mm4 fore200e.c] convert
Date: Thu, 30 Sep 2004 09:29:48 +0000 [thread overview]
Message-ID: <415BD20C.6050709@nuerscht.ch> (raw)
[-- Attachment #1: Type: text/plain, Size: 915 bytes --]
I'm sending this only to kernel-janitor since I'm not sure, if I do this
right (It's my first patch). It compiled without problems here.
Description: Use pci_get_device instead of pci_find_device.
Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
diff -Nrup linux-2.6.9-rc2-mm4-vanilla/drivers/atm/fore200e.c
linux-2.6.9-rc2-mm4/drivers/atm/fore200e.c
--- linux-2.6.9-rc2-mm4-vanilla/drivers/atm/fore200e.c 2004-09-30
10:24:43.000000000 +0200
+++ linux-2.6.9-rc2-mm4/drivers/atm/fore200e.c 2004-09-30
10:41:20.368794120 +0200
@@ -644,7 +644,7 @@ fore200e_pca_detect(const struct fore200
int count = index;
do {
- pci_dev = pci_find_device(PCI_VENDOR_ID_FORE,
PCI_DEVICE_ID_FORE_PCA200E, pci_dev);
+ pci_dev = pci_get_device(PCI_VENDOR_ID_FORE,
PCI_DEVICE_ID_FORE_PCA200E, pci_dev);
if (pci_dev == NULL)
return NULL;
} while (count--);
[-- Attachment #2: Type: text/plain, Size: 167 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
next reply other threads:[~2004-09-30 9:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-30 9:29 Tobias Klauser [this message]
2004-09-30 11:31 ` [Kernel-janitors] [PATCH 2.6.9-rc2-mm4 fore200e.c] convert Christoph Hellwig
2004-09-30 12:05 ` Matthew Wilcox
2004-09-30 17:11 ` 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=415BD20C.6050709@nuerscht.ch \
--to=tklauser@nuerscht.ch \
--cc=kernel-janitors@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.