Description of Problem: lspci -s command line option does not parse the legal slot 0:1f.1 correctly. Error message says invalid argument to -f option. -f is not a valid option to lspci... Investigation of the code shows a typo in the error reporting and a range error in the ..._filter_slot function whose ranges are INCLUSIVE at both ends. Version-Release number of selected component (if applicable): pciutils-2.1.9-2 How Reproducible: Always Steps to Reproduce: 1. lspci -s 0:1f Actual Results: lspci: -f: Invalid slot number Expected Results: PCI data for slot 0:1f.* Additional Information:
Created attachment 58804 [details] Patch to fix -s parsing and error message
Fixed in 2.10-1 (where this patch was applied upstream). Thanks!