From patchwork Wed Mar 23 23:05:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 12790203 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80388C433FE for ; Wed, 23 Mar 2022 23:05:31 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 122346B0075; Wed, 23 Mar 2022 19:05:31 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0A98C6B0078; Wed, 23 Mar 2022 19:05:31 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EB3226B007B; Wed, 23 Mar 2022 19:05:30 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0056.hostedemail.com [216.40.44.56]) by kanga.kvack.org (Postfix) with ESMTP id DBEF46B0075 for ; Wed, 23 Mar 2022 19:05:30 -0400 (EDT) Received: from smtpin27.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 9F0ACA32DD for ; Wed, 23 Mar 2022 23:05:30 +0000 (UTC) X-FDA: 79277184420.27.A029990 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by imf30.hostedemail.com (Postfix) with ESMTP id 060688002D for ; Wed, 23 Mar 2022 23:05:29 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 59585B82181; Wed, 23 Mar 2022 23:05:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12359C340E8; Wed, 23 Mar 2022 23:05:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1648076727; bh=cN6KBIeR25IM5UIqLOSNinPBe/r9usidocSKboM33EY=; h=Date:To:From:In-Reply-To:Subject:From; b=JSQNmCedpSw3WbTlHg22InEfeGPYrlyt2eElkmvKZVLHKIXPpVrWWQA600uynv4Fx UXyI1JrZ+iN5TWbTAD2P9irTXYi5JK8vxSLXObXgnAn4yD8n3Bd0IcNsf2uO4jq1l9 orOWVvaT/3LyPBNYR31WwygwBlh3bdQ4kzZEPgOE= Date: Wed, 23 Mar 2022 16:05:26 -0700 To: bhe@redhat.com,abaci@linux.alibaba.com,yang.lee@linux.alibaba.com,akpm@linux-foundation.org,patches@lists.linux.dev,linux-mm@kvack.org,mm-commits@vger.kernel.org,torvalds@linux-foundation.org,akpm@linux-foundation.org From: Andrew Morton In-Reply-To: <20220323160453.65922ced539cbf445b191555@linux-foundation.org> Subject: [patch 03/41] proc/vmcore: fix vmcore_alloc_buf() kernel-doc comment Message-Id: <20220323230527.12359C340E8@smtp.kernel.org> X-Stat-Signature: 5buzemnmarhzk54afooi5kj3uiai7cc7 Authentication-Results: imf30.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=JSQNmCed; spf=pass (imf30.hostedemail.com: domain of akpm@linux-foundation.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none X-Rspam-User: X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: 060688002D X-HE-Tag: 1648076729-266333 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: Yang Li Subject: proc/vmcore: fix vmcore_alloc_buf() kernel-doc comment Fix a spelling problem to remove warnings found by running scripts/kernel-doc, which is caused by using 'make W=1'. fs/proc/vmcore.c:492: warning: Function parameter or member 'size' not described in 'vmcore_alloc_buf' fs/proc/vmcore.c:492: warning: Excess function parameter 'sizez' description in 'vmcore_alloc_buf' Link: https://lkml.kernel.org/r/20220129011449.105278-1-yang.lee@linux.alibaba.com Signed-off-by: Yang Li Reported-by: Abaci Robot Acked-by: Baoquan He Signed-off-by: Andrew Morton --- fs/proc/vmcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/proc/vmcore.c~proc-vmcore-fix-vmcore_alloc_buf-kernel-doc-comment +++ a/fs/proc/vmcore.c @@ -480,7 +480,7 @@ static const struct vm_operations_struct /** * vmcore_alloc_buf - allocate buffer in vmalloc memory - * @sizez: size of buffer + * @size: size of buffer * * If CONFIG_MMU is defined, use vmalloc_user() to allow users to mmap * the buffer to user-space by means of remap_vmalloc_range().