From patchwork Sun Aug 8 20:31:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 12425103 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=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 6B932C432BE for ; Sun, 8 Aug 2021 20:32:00 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 9C35760C3F for ; Sun, 8 Aug 2021 20:31:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9C35760C3F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id A66298D0001; Sun, 8 Aug 2021 16:31:57 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A16926B0073; Sun, 8 Aug 2021 16:31:57 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 905878D0001; Sun, 8 Aug 2021 16:31:57 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0170.hostedemail.com [216.40.44.170]) by kanga.kvack.org (Postfix) with ESMTP id 777706B0071 for ; Sun, 8 Aug 2021 16:31:57 -0400 (EDT) Received: from smtpin40.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 1AB031D98B for ; Sun, 8 Aug 2021 20:31:57 +0000 (UTC) X-FDA: 78453059874.40.ABEAFE8 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by imf19.hostedemail.com (Postfix) with ESMTP id 716E3B00479D for ; Sun, 8 Aug 2021 20:31:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=/ATILcLFX23AV0uiRs4NGeiYkjS9xAInc4ZikPxLCIc=; b=HS5bz3w77175Zz3/9DFTqb/b7v Y4Q9FTxbzf6WTiQR/OdzH3umWe9vSHpXmV8RgdJb2rDYgKfZ6gBpr94JR7jsCYn2MEC+FGkEUbMfm K3sT+mX0Ve8Isfea734WnyVghxuodfF1K6n+XOw1d05oaXqyTqs3cBy4YJ5Vdx9sLbjQhhhYCdzNU kdUU7v0vCrhl96nP4f4r3mAFx5PL9NrrJbbN3fadaUNxf41jyEsA55vOJPCSDjZn2vD22mFQnKUtw AI+0UQW8JeUCXKpr5lSC9d6SIM5yGmK33qpt+pZ8l3WJT4rW0h/UzDWX6+FhrmS8JphQkSvedFx+W b/Y4nejQ==; Received: from [2601:1c0:6280:3f0::aa0b] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mCpSb-00GSAM-E6; Sun, 08 Aug 2021 20:31:53 +0000 From: Randy Dunlap To: linux-mm@kvack.org Cc: Randy Dunlap , Andrew Morton Subject: [PATCH] mm/migrate: correct kernel-doc notation Date: Sun, 8 Aug 2021 13:31:51 -0700 Message-Id: <20210808203151.10632-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=HS5bz3w7; dmarc=none; spf=none (imf19.hostedemail.com: domain of rdunlap@infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=rdunlap@infradead.org X-Stat-Signature: tnhshkmuu7prduw5apcrps5umcf3qb47 X-Rspamd-Queue-Id: 716E3B00479D X-Rspamd-Server: rspam01 X-HE-Tag: 1628454715-528643 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: Use the expected "Return:" format to prevent a kernel-doc warning. mm/migrate.c:1157: warning: Excess function parameter 'returns' description in 'next_demotion_node' Signed-off-by: Randy Dunlap Cc: Andrew Morton --- mm/migrate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20210806.orig/mm/migrate.c +++ linux-next-20210806/mm/migrate.c @@ -1148,7 +1148,7 @@ static int node_demotion[MAX_NUMNODES] _ * next_demotion_node() - Get the next node in the demotion path * @node: The starting node to lookup the next node * - * @returns: node id for next memory node in the demotion path hierarchy + * Return: node id for next memory node in the demotion path hierarchy * from @node; NUMA_NO_NODE if @node is terminal. This does not keep * @node online or guarantee that it *continues* to be the next demotion * target.