From: Ben Gardner Date: Fri, 11 May 2007 05:58:58 +0000 (-0700) Subject: PCI: Fix pci_find_present X-Git-Tag: v2.6.22-rc4~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c92c57af9a24a08b8d2f76650b1209239914fcd;p=pandora-kernel.git PCI: Fix pci_find_present 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 Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed