From 02284c55b9a1b3c30de2716e6f2497de2cbc24e9 Mon Sep 17 00:00:00 2001 From: Brice Goglin Date: Wed, 10 Jan 2007 23:15:29 -0800 Subject: [PATCH] --- yaml --- r: 45470 b: refs/heads/master c: 47a4d5be7c50b2e9b905abbe2b97dc87051c5a44 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/pci/pci.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 8466a91e77e0..d2135341bf5a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e5e5673f828623e58a401862b33173591faaeaff +refs/heads/master: 47a4d5be7c50b2e9b905abbe2b97dc87051c5a44 diff --git a/trunk/drivers/pci/pci.c b/trunk/drivers/pci/pci.c index 6bfb942428e4..206c834d263a 100644 --- a/trunk/drivers/pci/pci.c +++ b/trunk/drivers/pci/pci.c @@ -254,7 +254,8 @@ static int __pci_find_next_ht_cap(struct pci_dev *dev, int pos, int ht_cap) if ((cap & mask) == ht_cap) return pos; - pos = __pci_find_next_cap_ttl(dev->bus, dev->devfn, pos, + pos = __pci_find_next_cap_ttl(dev->bus, dev->devfn, + pos + PCI_CAP_LIST_NEXT, PCI_CAP_ID_HT, &ttl); }