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 <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: [email protected] Fixes: c7411a1 ("tracing/kprobe: Check whether the non-suffixed symbol is notrace") Signed-off-by: Masami Hiramatsu <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
1 parent de462e5 commit dcbd21c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)