From patchwork Mon Jul 24 19:59:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Corbet X-Patchwork-Id: 108598 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp4219138obm; Mon, 24 Jul 2017 12:59:28 -0700 (PDT) X-Received: by 10.98.8.132 with SMTP id 4mr17374818pfi.109.1500926367912; Mon, 24 Jul 2017 12:59:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500926367; cv=none; d=google.com; s=arc-20160816; b=J6ct5Vht8K/z73vW1I7WlPdNUSz0WPtZvucu2ZyTnpyjD+qVPawucxtQTUjB/1Qd4p v06HPvVfrw75WX3zzP3xFvv9Lz9Cx9K+fvB5lJTei3SgFwQyccsPKOstB6DiMQnSDWNR 1oU7uMsyDdOtDiTzZN6P+bQFU4W9dQJV5Vp0GZo5/z4Fu36p1fi/SZVmVN5WNVeUq+/9 JsUCa8P1pPkIpLh19xhLEwp51niL6hIv28CW19x8Vj32Pz4B0x+S5Xz6BRMay75iBv46 GpmuXAZ1O9IgDiHKWCk7oavVH6ONBkH2mHjGeveG92Xdwl9hDEH9JEVMKccpJX1z0t+i ddvw== 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=X0/cOLwf/CHxG7a3ToJlwJjFcGUSbkq2+66iOUdmsXA=; b=K5vgzzSS2SoSPEe12wJvMD9plvq1JXoB5qjJDqqpGPLdQ8NXO7q4MZMi4r19PjfDyj xGTGc+ByuAC9GPD2CQO8CtTVe8GLHAwRtwdzuTUwM3bhZiap0dfkYU+8FLlrREc1KXwJ pQfaBOOHZYbfae+KqFfNQWn2Mcj4i6GjpM1IbWV0RUmuAgjxpyACDjJ2PxLG5NJZ3Vo9 j1L0Kt2a2l98dGHge7Yq1Dgak8crD7CWFqkujfYGMnZ2MjSMjgp3kG0M7owKDFWSBbNM UkPv1OH73aVoFW1eCi+Oa0exACALP20tlSpuptFD5lulOd8Iu4gIcI9MTDl6DoSJfybC 1jbg== 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 f24si7075530pfd.57.2017.07.24.12.59.27; Mon, 24 Jul 2017 12:59:27 -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 S1751783AbdGXT7Z (ORCPT + 26 others); Mon, 24 Jul 2017 15:59:25 -0400 Received: from ms.lwn.net ([45.79.88.28]:38570 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750796AbdGXT7R (ORCPT ); Mon, 24 Jul 2017 15:59:17 -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 0F2AD2CF; Mon, 24 Jul 2017 19:59:17 +0000 (UTC) Date: Mon, 24 Jul 2017 13:59:16 -0600 From: Jonathan Corbet To: Andrew Morton Cc: LKML , linux-doc@vger.kernel.org Subject: [PATCH] kthread: Fix documentation build warning Message-ID: <20170724135916.7f486c6f@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 comment for kthread_create() had an incorrect argument name, leading to a warning in the docs build. Correct it, and make one more small step toward a warning-free build. Signed-off-by: Jonathan Corbet --- include/linux/kthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.4 diff --git a/include/linux/kthread.h b/include/linux/kthread.h index 4fec8b775895..82e197eeac91 100644 --- a/include/linux/kthread.h +++ b/include/linux/kthread.h @@ -15,7 +15,7 @@ struct task_struct *kthread_create_on_node(int (*threadfn)(void *data), * @threadfn: the function to run in the thread * @data: data pointer for @threadfn() * @namefmt: printf-style format string for the thread name - * @...: arguments for @namefmt. + * @arg...: arguments for @namefmt. * * This macro will create a kthread on the current node, leaving it in * the stopped state. This is just a helper for kthread_create_on_node();