Skip to content

Drop .owner for kernel >= 6.4 #304

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 18, 2025
Merged

Conversation

EricccTaiwan
Copy link
Contributor

@EricccTaiwan EricccTaiwan commented Apr 14, 2025

Kernel 6.4+ sets .owner automatically. Remove manual assignment to avoid build issues and keep compatibility with older versions.

Reference : sysprog21/simrupt#12

Summary by Bito

This pull request updates the LED device driver for kernel compatibility by removing the manual assignment of the .owner field for kernel versions 6.4 and above, preventing build issues while ensuring adherence to new kernel standards.

Unit tests added: False

Estimated effort to review (1-5, lower is better): 2

Kernel 6.4+ sets .owner automatically. Remove manual assignment
to avoid build issues and keep compatibility with older versions.
@EricccTaiwan
Copy link
Contributor Author

Hi @jserv, may I ask if this patch looks good to you?

@jserv jserv merged commit 7f4bca9 into sysprog21:master Apr 18, 2025
1 check passed
@jserv
Copy link
Contributor

jserv commented Apr 18, 2025

Thank @EricccTaiwan for contributing!

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