Skip to content

Commit dcbd21c

Browse files
mhiramatrostedt
authored andcommitted
tracing/kprobes: Fix a double initialization typo
Fix a typo that resulted in an unnecessary double initialization to addr. Link: http://lkml.kernel.org/r/158779374968.6082.2337484008464939919.stgit@devnote2 Cc: Tom Zanussi <zanussi@kernel.org> Cc: Ingo Molnar <mingo@kernel.org> Cc: stable@vger.kernel.org Fixes: c7411a1 ("tracing/kprobe: Check whether the non-suffixed symbol is notrace") Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
1 parent de462e5 commit dcbd21c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎kernel/trace/trace_kprobe.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ static bool __within_notrace_func(unsigned long addr)
453453

454454
static bool within_notrace_func(struct trace_kprobe *tk)
455455
{
456-
unsigned long addr = addr = trace_kprobe_address(tk);
456+
unsigned long addr = trace_kprobe_address(tk);
457457
char symname[KSYM_NAME_LEN], *p;
458458

459459
if (!__within_notrace_func(addr))

0 commit comments

Comments
 (0)