Skip to content

Conversation

onyn
Copy link

@onyn onyn commented May 23, 2025

PCI addresses in /sys/class/drm sysfs contains hexadecimal digits. This fix replaces \d with [[:xdigit:]] in PCI address parser regexp.

Closes #411.

PCI addresses in `/sys/class/drm` sysfs contains hexadecimal digits.
This fix replaces `\d` with `[[:xdigit:]]` in PCI address parser regexp.

Closes jaypipes#411.

Signed-off-by: onyn <a@onyn.ru>
Copy link
Owner

@jaypipes jaypipes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@onyn thank you so very much for this contribution. You're a rock star!

@jaypipes jaypipes merged commit 8fdda8f into jaypipes:main May 24, 2025
10 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong GPU info after upgrading from 0.12.0 to 0.16.0
2 participants