Summary: | pci_device_linux_sysfs_read_rom refuses to read valid rom, if zero sized | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Stuart Bennett <sb476> | ||||||
Component: | Lib/pciaccess | Assignee: | Xorg Project Team <xorg-team> | ||||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||||
Severity: | normal | ||||||||
Priority: | medium | CC: | alex.williamson | ||||||
Version: | git | ||||||||
Hardware: | Other | ||||||||
OS: | Linux (All) | ||||||||
Whiteboard: | |||||||||
i915 platform: | i915 features: | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 10101 | ||||||||
Attachments: |
|
Description
Stuart Bennett
2008-01-09 06:55:54 UTC
*** Bug 8698 has been marked as a duplicate of this bug. *** Created attachment 14736 [details] [review] Proposed patch. Please review. Created attachment 15015 [details] [review] Fix the original problem, and a similar bug in the devmem path The previous patch doesn't work, due to a very similar bug in the handling of zero reported size ROMs in the devmem path. This patch fixes the error in the devmem path, and avoids the fall-through from sysfs to devmem for this particular case by applying the trivial fix that is in the devmem path to the sysfs path. With these fixes, both paths work. My name is ajax, and I approve this message. Fixed in git, will be in the next pciaccess release. Thanks! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.