All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATCH] drivers/scsi/qlogicfc.c: It's changes pci_find_device
@ 2005-07-07  1:05 Rodrigo P. do Nascimento
  2005-07-07 19:01 ` [KJ] [PATCH] drivers/scsi/qlogicfc.c: It's changes Greg KH
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Rodrigo P. do Nascimento @ 2005-07-07  1:05 UTC (permalink / raw)
  To: kernel-janitors

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

Hi All,

I'm trying again. This time I checked whether the code isn't into the
#ifdef or #ifndef block. :)
I hope that it's right. My apologies whether something is wrong. I only
want to help the project.
I'm a newbie, so far.   :)

--- /usr/src/linux/drivers/scsi/qlogicfc.c	2005-06-22 16:33:05.000000000 -0300
+++ /usr/src/linux-kj/drivers/scsi/qlogicfc.c	2005-07-05 19:03:39.000000000 -0300
@@ -732,7 +732,7 @@ static int isp2x00_detect(Scsi_Host_Temp

 	for (i=0; i<2; i++){
 		pdev = NULL;
-	        while ((pdev = pci_find_device(PCI_VENDOR_ID_QLOGIC, device_ids[i], pdev))) {
+	        while ((pdev = pci_get_device(PCI_VENDOR_ID_QLOGIC, device_ids[i], pdev))) {
 			if (pci_enable_device(pdev))
 				continue;


[-- Attachment #2: Type: text/plain, Size: 168 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-07-07 21:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-07  1:05 [KJ] [PATCH] drivers/scsi/qlogicfc.c: It's changes pci_find_device Rodrigo P. do Nascimento
2005-07-07 19:01 ` [KJ] [PATCH] drivers/scsi/qlogicfc.c: It's changes Greg KH
2005-07-07 19:25 ` Matthew Wilcox
2005-07-07 20:56 ` Greg KH
2005-07-07 21:23 ` Patrick Mansfield
2005-07-07 21:40 ` Rodrigo Nascimento

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.