Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp396890rdb; Tue, 19 Dec 2023 23:29:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IHcy8WWhvJc6Lcwq0ff3bgO9n3cm7WokDppqM2DxhDXymXSEzXF0an1oiWj2hSCnpm3igW5 X-Received: by 2002:a05:620a:2984:b0:77f:95a0:43c1 with SMTP id r4-20020a05620a298400b0077f95a043c1mr16538451qkp.58.1703057376586; Tue, 19 Dec 2023 23:29:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703057376; cv=none; d=google.com; s=arc-20160816; b=hRQXDbhqvaOHvbSOPeUP11kvAt2lqUYn5MzKghBPq/w4CUPc5I1UtTI5maafXZZX6Q Ndz5PJoembyCTo3+zaiu3U+5HQ2asw9v7iqqQc7KWbM/8o0pknCBaO+vcwTG+AQcVgPl eR3nxli2IlsW5LVfyBiIFaDaHTT+4GXOUZ8kMntogH/1HIxgwb4md+D3PUJ1RdKWDd3b Ks4qwkpNuafF8UpXhgEisKUqd9ugyR8g//lz56pyzFhyRo6Ry4FQdLjJPsNbTdeGE5fD vMpjc/lPEp4NwyJqBoea/H+SjkgYP1q0FGHUI4AMYOsuqrws+YK1EnM6c56Tcmc9NiL+ QEyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=5Cp0brfPb+fyu6Yk+mtHotB5lP7dckOvawNH9gPrHx4=; fh=97ivvw8YsuvPrOuAwX5YT5HCVVFMTVoVLIBWN9M5nGY=; b=hg3fGl5/L5hv+MO4TXywkeTLmbK62ZtEzKYW0ryaZOBB2i4k39H1jWA9p94aIIxfDy ucNFY6CS4poN3PJeQezDoehqSKSG8XZE8GQ0v70r0HzcyY9ih0RgtDxLWfmJ1SI43/3X zKk5eFumNc8+wk6rfRURZBMap9+y50XCnzbtal6lQHg23TL7azZ5U6D5IHWdq7h3mzJS xNCAMTJi8SG/HR4DH2FyoEbHpO2ZLNRyKQLzN5pLdU/+SeH3v3/SsKQaFjEF2ox1xyrk kEyd7D1OQ49mC+jjQD+Z7WG/+gr5sA/l1GGRJvz6ojtXM+ubqsTsmG454TMfAlHwg7nZ Rizw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=PMCPRzos; spf=pass (google.com: domain of linux-kernel+bounces-6486-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6486-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ee19-20020a05620a801300b0077efd5a9f39si29836078qkb.143.2023.12.19.23.29.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 23:29:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6486-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=PMCPRzos; spf=pass (google.com: domain of linux-kernel+bounces-6486-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6486-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 560581C25872 for ; Wed, 20 Dec 2023 07:29:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 69A0E168C8; Wed, 20 Dec 2023 07:28:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="PMCPRzos" X-Original-To: linux-kernel@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A0E2B1D52A; Wed, 20 Dec 2023 07:28:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=5Cp0brfPb+fyu6Yk+mtHotB5lP7dckOvawNH9gPrHx4=; b=PMCPRzosOokGKnRpAUl2VHGDKe 0uHl0/wFnM3dnK7qurriPilNY7TWfknpJwTn6If8YmdkdrfVyp4rGb3hmDqhXinKtUgmQgdWzw806 vYwWnpyB+9V2EPCJxyvIo+tRrnzZVPEyIUBgU/kloUGyZQr/gZAUJuVk5DG+3FDA/WMYGITKQe7t5 /gsyOg9qGrAA/Nnc3Xkre+Tq3AmH2Cl4EeyJhInPTsk1Yw0O+Fi5PuYVRa8+BSAwqFS1G7h6V+tTb 0PqDIxVBsxxTqh3mTYZERqWJ1o5/sJ6D0GswHlOXYTqPfHMGs5oHumPcLu9n8TJfCjHwARmZFnJcy mRm9ESzw==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rFr0X-00GQZN-0z; Wed, 20 Dec 2023 07:28:45 +0000 Message-ID: Date: Tue, 19 Dec 2023 23:28:44 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] nilfs2: cpfile: fix some kernel-doc warnings Content-Language: en-US To: Ryusuke Konishi Cc: linux-kernel@vger.kernel.org, linux-nilfs@vger.kernel.org References: <20231220065931.2372-1-rdunlap@infradead.org> From: Randy Dunlap In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 12/19/23 23:25, Ryusuke Konishi wrote: > On Wed, Dec 20, 2023 at 3:59 PM Randy Dunlap wrote: >> >> Correct the function parameter names for nilfs_cpfile_get_info(): >> >> cpfile.c:564: warning: Function parameter or member 'cnop' not described in 'nilfs_cpfile_get_cpinfo' >> cpfile.c:564: warning: Function parameter or member 'mode' not described in 'nilfs_cpfile_get_cpinfo' >> cpfile.c:564: warning: Function parameter or member 'buf' not described in 'nilfs_cpfile_get_cpinfo' >> cpfile.c:564: warning: Function parameter or member 'cisz' not described in 'nilfs_cpfile_get_cpinfo' >> cpfile.c:564: warning: Excess function parameter 'cno' description in 'nilfs_cpfile_get_cpinfo' >> cpfile.c:564: warning: Excess function parameter 'ci' description in 'nilfs_cpfile_get_cpinfo' >> >> This still leaves a few kernel-doc warnings. >> Also, the function parameters should have descriptions after them. >> >> Signed-off-by: Randy Dunlap >> Cc: Ryusuke Konishi >> Cc: linux-nilfs@vger.kernel.org >> --- >> fs/nilfs2/cpfile.c | 6 ++++-- >> 1 file changed, 4 insertions(+), 2 deletions(-) >> >> diff -- a/fs/nilfs2/cpfile.c b/fs/nilfs2/cpfile.c >> --- a/fs/nilfs2/cpfile.c >> +++ b/fs/nilfs2/cpfile.c >> @@ -554,8 +554,10 @@ static ssize_t nilfs_cpfile_do_get_ssinf >> /** >> * nilfs_cpfile_get_cpinfo - >> * @cpfile: >> - * @cno: >> - * @ci: >> + * @cnop: >> + * @mode: >> + * @buf: >> + * @cisz: >> * @nci: >> */ >> > > Ah, thank you for pointing it out. > > I would like to fill in the missing descriptions and send it upstream. Yes, please do. Thanks. -- #Randy https://people.kernel.org/tglx/notes-about-netiquette https://subspace.kernel.org/etiquette.html