From: Martin Mares Date: Mon, 14 Sep 2015 15:24:29 +0000 (+0200) Subject: Updated fixed-version references to pci_fill_info X-Git-Tag: v3.4.0~6 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=3218af50dd165c6f3740e15fc4f28ff57ab4251a;p=pciutils.git Updated fixed-version references to pci_fill_info --- diff --git a/lib/caps.c b/lib/caps.c index 4cf9ad8..a812fb9 100644 --- a/lib/caps.c +++ b/lib/caps.c @@ -106,7 +106,7 @@ pci_find_cap(struct pci_dev *d, unsigned int id, unsigned int type) { struct pci_cap *c; - pci_fill_info_v33(d, ((type == PCI_CAP_NORMAL) ? PCI_FILL_CAPS : PCI_FILL_EXT_CAPS)); + pci_fill_info_v34(d, ((type == PCI_CAP_NORMAL) ? PCI_FILL_CAPS : PCI_FILL_EXT_CAPS)); for (c=d->first_cap; c; c=c->next) if (c->type == type && c->id == id) return c; diff --git a/lib/filter.c b/lib/filter.c index 375293a..d4254a0 100644 --- a/lib/filter.c +++ b/lib/filter.c @@ -129,7 +129,7 @@ pci_filter_match_v33(struct pci_filter *f, struct pci_dev *d) return 0; if (f->device >= 0 || f->vendor >= 0) { - pci_fill_info_v33(d, PCI_FILL_IDENT); + pci_fill_info_v34(d, PCI_FILL_IDENT); if ((f->device >= 0 && f->device != d->device_id) || (f->vendor >= 0 && f->vendor != d->vendor_id)) return 0;