Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755470AbdC1Scq (ORCPT ); Tue, 28 Mar 2017 14:32:46 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:35355 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753529AbdC1Scp (ORCPT ); Tue, 28 Mar 2017 14:32:45 -0400 From: Tamara Diaconita X-Google-Original-From: Tamara Diaconita To: mingo@redhat.com, peterz@infradead.org, linux-kernel@vger.kernel.org, outreachy-kernel@googlegroups.com, corbet@lwn.net Cc: Tamara Diaconita Subject: [PATCH] sched: core.c: Fix outdated comments Date: Tue, 28 Mar 2017 21:32:26 +0300 Message-Id: <20170328183226.2793-1-diaconita.tamara@gmail.com> X-Mailer: git-send-email 2.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1224 Lines: 32 In d8ac897137a2 (sched/core: Add wrappers for lockdep_(un)pin_lock()), the prototype for try_to_wake_up local() was changed, but the kerneldoc comment was not updated, resulting in these warnings in the documentation build: .kernel/sched/core.c:2085: warning: Excess function parameter 'cookie' description in 'try_to_wake_up_local' .kernel/sched/core.c:2085: warning: No description found for parameter 'rf' Update the comment to match the new 'rf' parameter. Fixes: d8ac897137a230ec351269f6378017f2decca512 Signed-off-by: Tamara Diaconita --- kernel/sched/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 9563838..0d03755 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -2074,7 +2074,7 @@ try_to_wake_up(struct task_struct *p, unsigned int state, int wake_flags) /** * try_to_wake_up_local - try to wake up a local task with rq lock held * @p: the thread to be awakened - * @cookie: context's cookie for pinning + * @rf: runqueue flags * * Put @p on the run-queue if it's not already there. The caller must * ensure that this_rq() is locked, @p is bound to this_rq() and not -- 2.9.3