PCI device header type doesn't include bit7
Bug #681207 reported by
Chih-Pin Wu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libpciaccess (Ubuntu) |
Fix Released
|
Medium
|
Bryce Harrington |
Bug Description
Within the function pci_device_
Beside this problem, version 0.12.0 has a pointer check "priv->bridge.pci" upon fuction entrance and just return "ENODEV" if it is null. The problem is that the pointer never got initialized in the first place and will always be null. This checking should be removed.
Related branches
tags: | added: natty |
To post a comment you must log in.
Hi chihpinwu, thanks for reporting this issue. I don't think there's been a lot of testing with multi-function cards so this may have gone untested. I'm a bit uncertain how this should be fixed - would you be willing to suggest a patch?