From patchwork Tue Jun 29 02:33:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 12348879 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56F31C11F64 for ; Tue, 29 Jun 2021 02:33:35 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 0B3A061D00 for ; Tue, 29 Jun 2021 02:33:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0B3A061D00 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 652FE8D0079; Mon, 28 Jun 2021 22:33:34 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 602E88D0072; Mon, 28 Jun 2021 22:33:34 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4CB038D0079; Mon, 28 Jun 2021 22:33:34 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0142.hostedemail.com [216.40.44.142]) by kanga.kvack.org (Postfix) with ESMTP id 2BED58D0072 for ; Mon, 28 Jun 2021 22:33:34 -0400 (EDT) Received: from smtpin02.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 199C28249980 for ; Tue, 29 Jun 2021 02:33:34 +0000 (UTC) X-FDA: 78305190348.02.7688924 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf17.hostedemail.com (Postfix) with ESMTP id AB9404202A11 for ; Tue, 29 Jun 2021 02:33:33 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id C231E61CEF; Tue, 29 Jun 2021 02:33:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1624934013; bh=8Zk34LB12Dtzs7yLTnezAzVRYZgbjeJvd4f18xv17pQ=; h=Date:From:To:Subject:In-Reply-To:From; b=UK/6JYV545gFcbDT0/poOatyIGPgtRj6Iv4ETC3yu/lwfCHZauGjls/bCnUf6Y4Bs Lq5TiqjdZ+xQHpfD5224g8jSTkaWKJ1777N/PwMwIZr8l8ZBys+KZXrLKRO1Wetr+C oUtD9rHlUXI8manDD4l118JWZhHrj69vsUZ/JjH8= Date: Mon, 28 Jun 2021 19:33:32 -0700 From: Andrew Morton To: akpm@linux-foundation.org, axboe@kernel.dk, Felix.Kuehling@amd.com, j.neuschaefer@gmx.net, linux-mm@kvack.org, mm-commits@vger.kernel.org, peterz@infradead.org, torvalds@linux-foundation.org, valentin.schneider@arm.com Subject: [patch 004/192] kthread: switch to new kerneldoc syntax for named variable macro argument Message-ID: <20210629023332.8k5B3vX2d%akpm@linux-foundation.org> In-Reply-To: <20210628193256.008961950a714730751c1423@linux-foundation.org> User-Agent: s-nail v14.8.16 MIME-Version: 1.0 Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b="UK/6JYV5"; spf=pass (imf17.hostedemail.com: domain of akpm@linux-foundation.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: AB9404202A11 X-Stat-Signature: o6okeypd94nk6a5xq5jhjjep9bsziziy X-HE-Tag: 1624934013-319286 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: Jonathan Neuschäfer Subject: kthread: switch to new kerneldoc syntax for named variable macro argument The syntax without dots is available since commit 43756e347f21 ("scripts/kernel-doc: Add support for named variable macro arguments"). The same HTML output is produced with and without this patch. Link: https://lkml.kernel.org/r/20210513161702.1721039-1-j.neuschaefer@gmx.net Signed-off-by: Jonathan Neuschäfer Cc: Jens Axboe Cc: Felix Kuehling Cc: Valentin Schneider Cc: Peter Zijlstra Signed-off-by: Andrew Morton --- include/linux/kthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/include/linux/kthread.h~kthread-switch-to-new-kerneldoc-syntax-for-named-variable-macro-argument +++ a/include/linux/kthread.h @@ -18,7 +18,7 @@ struct task_struct *kthread_create_on_no * @threadfn: the function to run in the thread * @data: data pointer for @threadfn() * @namefmt: printf-style format string for the thread name - * @arg...: 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();