Skip to content

Support Linux 6.15 about hrtimer_init #76

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

horseface1110
Copy link
Contributor

To align with the best practices recommended by Linux kernel v6.15 API. This commit replaces the deprecated hrtimer_init() with hrtimer_setup() which was introduced as its functional replacement.The new API requires a hrtimer_callback function pointer as one of the parameters. After examining the surrounding codebase,the appropriate callback function has been identified and passed accordingly.

ref:
torvalds/linux@9779489

To align with the best practices recommended by Linux kernel v6.15 API.
This commit replaces the deprecated hrtimer_init() with hrtimer_setup()
which was introduced as its functional replacement.The new API requires
a hrtimer_callback function pointer as one of the parameters.
After examining the surrounding codebase,the appropriate callback
function has been identified and passed accordingly.

ref:
torvalds/linux@9779489
@jserv jserv requested a review from jychen0611 May 30, 2025 17:38
Copy link
Collaborator

@jychen0611 jychen0611 left a comment

Choose a reason for hiding this comment

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

LGTM

@jychen0611 jychen0611 requested a review from jserv May 31, 2025 07:50
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