diff options
| author | Jinghao Jia <[email protected]> | 2024-03-06 15:26:01 +0000 |
|---|---|---|
| committer | Masami Hiramatsu (Google) <[email protected]> | 2024-03-06 15:26:01 +0000 |
| commit | e4778a0ef322834718f8e42da3901eb99fef1208 (patch) | |
| tree | 1a163496c7bd7bfebfa5a332cf4aa38953aa3b70 /lib/overflow_kunit.c | |
| parent | Linux 6.8-rc7 (diff) | |
| download | kernel-e4778a0ef322834718f8e42da3901eb99fef1208.tar.gz kernel-e4778a0ef322834718f8e42da3901eb99fef1208.zip | |
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/[email protected]/
Signed-off-by: Jinghao Jia <[email protected]>
Acked-by: Masami Hiramatsu (Google) <[email protected]>
Signed-off-by: Masami Hiramatsu (Google) <[email protected]>
Diffstat (limited to 'lib/overflow_kunit.c')
0 files changed, 0 insertions, 0 deletions
