From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753507AbdBVA3h (ORCPT ); Tue, 21 Feb 2017 19:29:37 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56036 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752581AbdBVA3b (ORCPT ); Tue, 21 Feb 2017 19:29:31 -0500 From: Chunyu Hu To: rostedt@goodmis.org Cc: mingo@kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] tracing: Fix code comment for ftrace_ops_get_func Date: Wed, 22 Feb 2017 08:29:26 +0800 Message-Id: <1487723366-14463-1-git-send-email-chuhu@redhat.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Wed, 22 Feb 2017 00:29:31 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is no function 'ftrace_ops_recurs_func' existing in the code, it should be ftrace_ops_assist_func. Fix the comment to avoid misleading. Signed-off-by: Chunyu Hu --- kernel/trace/ftrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 0c06093..fd84f2e 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c @@ -5487,7 +5487,7 @@ static void ftrace_ops_assist_func(unsigned long ip, unsigned long parent_ip, * Normally the mcount trampoline will call the ops->func, but there * are times that it should not. For example, if the ops does not * have its own recursion protection, then it should call the - * ftrace_ops_recurs_func() instead. + * ftrace_ops_assist_func() instead. * * Returns the function that the trampoline should call for @ops. */ -- 1.8.3.1