Skip to content
Commit e4778a0e authored by Jinghao Jia's avatar Jinghao Jia Committed by Masami Hiramatsu (Google)
Browse files

x86/kprobes: Refactor can_{probe,boost} return type to bool



Both can_probe and can_boost have int return type but are using int as
boolean in their context.

Refactor both functions to make them actually return boolean.

Link: https://lore.kernel.org/all/20240204031300.830475-2-jinghao7@illinois.edu/

Signed-off-by: default avatarJinghao Jia <jinghao7@illinois.edu>
Acked-by: default avatarMasami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: default avatarMasami Hiramatsu (Google) <mhiramat@kernel.org>
parent 90d35da6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment