Skip to content

Fix astribank_match const signature for RHEL 9.8+#105

Open
phoneben wants to merge 1 commit intoasterisk:masterfrom
phoneben:const
Open

Fix astribank_match const signature for RHEL 9.8+#105
phoneben wants to merge 1 commit intoasterisk:masterfrom
phoneben:const

Conversation

@phoneben
Copy link

@phoneben phoneben commented Feb 22, 2026

RHEL 9.8+ (kernel 5.14) backported the const struct device_driver * change to match callbacks, causing a -Werror=incompatible-pointer-types build failure. Extends the existing kernel 6.11 guards to also cover RHEL 9.8+.
Resolves #104

@phoneben phoneben changed the title xbus-sysfs.c: astribank_match signature incompatible with RHEL 9.8+ (… Fix astribank_match const signature for RHEL 9.8+ Feb 22, 2026
RHEL 9.8+ (kernel 5.14) backported the const struct device_driver * change to match callbacks, causing a -Werror=incompatible-pointer-types build failure. Extends the existing kernel 6.11 guards to also cover RHEL 9.8+.
Resolves asterisk#104
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.

RHEL_RELEASE_VERSION(9, 8) backported xpp, sysfs: Use const struct device_device

1 participant