diff --git a/kernel/trace/trace_kprobe.c b/kernel/trace/trace_kprobe.c index 69286337fd7e19c5cd63c5d037c728c3801d515c..0b7386a54b1efde65183ba46d7cca981702023f7 100644 --- a/kernel/trace/trace_kprobe.c +++ b/kernel/trace/trace_kprobe.c @@ -46,7 +46,7 @@ struct trace_probe { (sizeof(struct probe_arg) * (n))) -static __kprobes int trace_probe_is_return(struct trace_probe *tp) +static __kprobes bool trace_probe_is_return(struct trace_probe *tp) { return tp->rp.handler != NULL; }