Message ID | 20210806145407.819812399@goodmis.org |
---|---|
State | Accepted |
Commit | f7ec4121256393e1d03274acdca73eb18958f27e |
Headers | show |
Series | [for-linus,1/3] tracepoint: static call: Compare data on transition from 2->1 callees | expand |
diff --git a/kernel/tracepoint.c b/kernel/tracepoint.c index fc32821f8240..133b6454b287 100644 --- a/kernel/tracepoint.c +++ b/kernel/tracepoint.c @@ -338,7 +338,7 @@ static int tracepoint_remove_func(struct tracepoint *tp, } else { rcu_assign_pointer(tp->funcs, tp_funcs); tracepoint_update_call(tp, tp_funcs, - tp_funcs[0].func != old[0].func); + tp_funcs[0].data != old[0].data); } release_probes(old); return 0;