-
Notifications
You must be signed in to change notification settings - Fork 8.2k
[Backport v4.2-branch] pm: Fix to prevent incorrect forever timeout #93367
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
base: v4.2-branch
Are you sure you want to change the base?
Conversation
K_TICKS_FOREVER is defined as -1. Guard logic has been added for the case when `ticks - exit_latency_ticks == -1` to prevent sys_clock_set_timeout() from incorrectly setting a forever timeout. Signed-off-by: Serhiy Katsyuba <[email protected]> (cherry picked from commit 98dfa0a)
|
|
This PR needs an issue attached in order to be eligible for backporting, @serhiy-katsyuba-intel can you please add one if you'd like to backport it? |
|
@serhiy-katsyuba-intel still needs an issue. Do you have one? |
|
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |



Backport 98dfa0a from #93114.