libpciaccess: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sun Apr 3 16:08:30 UTC 2022
src/linux_sysfs.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 831b467b2e3876c4e0c307d1e3eae2746ce805a7
Author: Chester Gillon <chester.gillon at metronet.co.uk>
Date: Sun Sep 5 13:37:56 2021 +0100
Obtain correct value of is_64 and is_prefetchable PCI device fields
Correct setting of the is_64 and is_prefetchable pci_device fields in
pci_device_linux_sysfs_probe().
The pci_device struct defines is_64 and is_prefetchable as single bits,
but the previous code was attempting to store the result of a bit-masked
field in a single bit which always resulted in is_64 and is_prefetchable
being zero regardless of the actual capabilities of the PCI device.
Fixes: #15
Signed-off-by: Chester Gillon <chester.gillon at metronet.co.uk>
More information about the xorg-commit
mailing list