Skip to content
Commit 6fbafe1c authored by Panagiotis Foliadis's avatar Panagiotis Foliadis Committed by Miguel Ojeda
Browse files

rust: task: fix `SAFETY` comment in `Task::wake_up`



The `SAFETY` comment inside the `wake_up` method references
erroneously the `signal_pending` C function instead of the
`wake_up_process` which is actually called.

Fix the comment to reference the correct C function.

Fixes: fe95f583 ("rust: task: adjust safety comments in Task methods")
Signed-off-by: default avatarPanagiotis Foliadis <pfoliadis@posteo.net>
Reviewed-by: default avatarCharalampos Mitrodimas <charmitro@posteo.net>
Reviewed-by: default avatarAlice Ryhl <aliceryhl@google.com>
Link: https://lore.kernel.org/r/20250308-comment-fix-v1-1-4bba709fd36d@posteo.net


[ Slightly reworded. - Miguel ]
Signed-off-by: default avatarMiguel Ojeda <ojeda@kernel.org>
parent 0ea4c390
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment