]> mj.ucw.cz Git - pciutils.git/commit
Cleaned up pci_find_cap_nr()
authorMartin Mares <mj@ucw.cz>
Sun, 14 Oct 2018 20:53:52 +0000 (22:53 +0200)
committerMartin Mares <mj@ucw.cz>
Sun, 14 Oct 2018 20:53:52 +0000 (22:53 +0200)
commitd7d9e30534eb55145e7033018ee945b09de6928a
tree3fc977ae6cf9d0f0035e878dc8ee0c7c3d7b2e5e
parent6639fd175ae561240639c2c54da409bbc0f94835
Cleaned up pci_find_cap_nr()

The cap_number is always set to the total number of capability instances
found, regardless of whether a match was found or not.
lib/caps.c
lib/pci.h