diff options
| author | Ben Gardner <[email protected]> | 2007-05-10 22:58:58 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2007-05-31 16:56:37 -0700 |
| commit | 3c92c57af9a24a08b8d2f76650b1209239914fcd (patch) | |
| tree | 203717bccf072e32dc62db493b0fee6aa4201a44 /scripts/patch-kernel | |
| parent | e3008dedff4bdc96a5f67224cd3d8d12237082a0 (diff) | |
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 <[email protected]>
Cc: Alan Cox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions