Skip to content

Fix module build on CentOS 9 and 10#561

Open
richgieg wants to merge 1 commit intoDisplayLink:mainfrom
richgieg:fix-centos-9-10-build
Open

Fix module build on CentOS 9 and 10#561
richgieg wants to merge 1 commit intoDisplayLink:mainfrom
richgieg:fix-centos-9-10-build

Conversation

@richgieg
Copy link

@richgieg richgieg commented Mar 1, 2026

The evdi module build fails on CentOS Stream 9 and 10 due to some 6.17 kernel changes being backported. This PR adds a CENTOSFLAG to differentiate from ELFLAG because CentOS Stream runs ahead of the other EL kernels (Rocky Linux, AlmaLinux, RHEL) and they don't have the same changes backported yet.

I suppose when the time comes to add the defined(EL9) and defined(EL10) checks for the 6.17 changes to evdi_drm_drv.h‎ and evdi_fb.c, then the defined(CENTOS9) and defined(CENTOS10) checks can be removed because CentOS Stream 9 and 10 also trigger the EL9 and EL10 flags, respectively. But it wouldn't hurt to leave them either.

@synaptics-lspintzyk
Copy link
Contributor

FYI @elguero, please approve.

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.

2 participants