From patchwork Mon Jul 24 19:56:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Corbet X-Patchwork-Id: 108596 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp4216947obm; Mon, 24 Jul 2017 12:56:41 -0700 (PDT) X-Received: by 10.98.35.133 with SMTP id q5mr17109423pfj.283.1500926201800; Mon, 24 Jul 2017 12:56:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500926201; cv=none; d=google.com; s=arc-20160816; b=bpv+uuldr2RmdrWAxnfx8gArpBFYYew6xq78oqWMh0zQvgERYosgkeOiKKiqdTABmv lr1tBq2JBk400e7f6Wqp84M5gFGgE7BoEXj7xC6uAWPEToYAq9URDlHA1PNrrYtA2PKo S+MMX/Z3m12hAPwvpjpdvsVGPQxZ0r9fTcdkFR0xEF1LPsxjNr6SowGo/wmoRZCoWwHZ 8/qg4MijSe9Pm9Co82T3X+xfaTCpwFd9L4b4nZ9s2fa42teHQhWHynIU+CFg5T9Z4F+p PyUCTXyZewH+16b0xE8dL2QkzGBATEazVCLCFjU2BOZo9L3knqHBiI3uj2Gyrz1tFXJW c3lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:message-id:subject:cc:to:from:date :arc-authentication-results; bh=ndRkxeTqaHhPRXMv66V8xzeMfD1ZJvPNRvHcl4FGDqk=; b=05PXt0xnpER3zHQn48snot+098LPXpcV68fuyjB5yIM84KMj/cZu5Y9mDKZDFVjfyL tibvmDjWsDNn6kpQ8TZl8211AUu47shf7x3Q4OZvaidSEsnsxcsuZN7fzGqNwsSFgnwR TqDbEzMidG4QEY8IewOLpy6f5pTR2udecD2pmHhJc9DPVLKDoBOHlYXBN38J3OFVQ4ej +OgNDmolGfQ/iC7o6QYqmWn6DtiPthcWLi3Dnhh7eQ3Jho0Qy/O669J1Pkn+LQhhr1Ej XmofxHUD94la6RLfOJLstmPG425YTMIxITWweH0xUiM9fIW2ivuiYGoj2i4hX3pP7kts gyYw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 98si7539345plt.531.2017.07.24.12.56.41; Mon, 24 Jul 2017 12:56:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752548AbdGXT4i (ORCPT + 26 others); Mon, 24 Jul 2017 15:56:38 -0400 Received: from ms.lwn.net ([45.79.88.28]:38552 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750796AbdGXT4a (ORCPT ); Mon, 24 Jul 2017 15:56:30 -0400 Received: from localhost.localdomain (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id B22B92F5; Mon, 24 Jul 2017 19:56:29 +0000 (UTC) Date: Mon, 24 Jul 2017 13:56:28 -0600 From: Jonathan Corbet To: Ingo Molnar , Peter Zijlstra Cc: LKML , linux-doc@vger.kernel.org Subject: [PATCH] sched/core: Fix some documentation build warnings Message-ID: <20170724135628.695cecfc@lwn.net> Organization: LWN.net X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The kerneldoc comments for try_to_wake_up_local() were out of date, leading to these documentation build warnings: ./kernel/sched/core.c:2080: warning: No description found for parameter 'rf' ./kernel/sched/core.c:2080: warning: Excess function parameter 'cookie' description in 'try_to_wake_up_local' Update the comment to reflect current reality and give us some peace and quiet. Signed-off-by: Jonathan Corbet --- kernel/sched/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.4 diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 17c667b427b4..0869b20fba81 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -2069,7 +2069,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: request-queue flags for pinning * * 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