[PATCH 3/5] PCI: Fix pci_find_present

2007-05-31 Thread Greg Kroah-Hartman
From: Ben Gardner <[EMAIL PROTECTED]> pci_find_present() is only matching the last item in the list of ids. The break after the match is found only escapes the for loop, not the while loop, so found gets reset to NULL on the next pass. Signed-off-by: Ben Gardner <[EMAIL PROTECTED]> Cc: Alan Cox

[PATCH 3/5] PCI: Fix pci_find_present

2007-05-31 Thread Greg Kroah-Hartman
From: Ben Gardner [EMAIL PROTECTED] pci_find_present() is only matching the last item in the list of ids. The break after the match is found only escapes the for loop, not the while loop, so found gets reset to NULL on the next pass. Signed-off-by: Ben Gardner [EMAIL PROTECTED] Cc: Alan Cox