Skip to content

Conversation

weiso131
Copy link
Contributor

Linux 6.12 removed the no_llseek macro. Add a version check so that .llseek = no_llseek is only used on kernels prior to 6.12.

Linux 6.12 removed the no_llseek macro. Add a version check so that
.llseek = no_llseek is only used on kernels prior to 6.12.
Copy link
Contributor

@EricccTaiwan EricccTaiwan left a comment

Choose a reason for hiding this comment

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

LGTM, and I think you can do the same cleanup with simrupt and LKMPG.

google/gasket-driver#35
https://lists.ubuntu.com/archives/fwts-devel/2025-March/013973.html

@weiso131
Copy link
Contributor Author

weiso131 commented Sep 6, 2025

Thanks @EricccTaiwan for the review and suggestions.
I have opened a related pull request for simrupt: sysprog21/simrupt#14

As for LKMPG, it seems that no_llseek is not used there.

@jserv jserv merged commit 5cb4dec into sysprog21:main Sep 10, 2025
@jserv
Copy link
Contributor

jserv commented Sep 10, 2025

Thank @weiso131 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.

3 participants