From mboxrd@z Thu Jan 1 00:00:00 1970 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 D9C63168A9; Wed, 20 Dec 2023 06:59:32 +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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="2INhNg9s" 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=wiefhyyxdQ6+cVyIEandstncmSheKVNzQxTEt7IW79g=; b=2INhNg9suwi5GAzp9swSRhVD6R Mv9OiTfgp1DZKHL2ulgMJGFP4LQux5BoIzvOezYx0DtA1ZSphHQxK61kgbSfHMwPP4dGhEf4CMnvs jsSuLp26Jc7g6GM2AlHJSfliw8EaNrowDJlHGR9QqOoegkjzGq7pOi6TY3a9UhvRXzvHloDtymjYT RzPtxPrWG3KhccMBA5XFg8LjTrSMsU3wOYgXU2ZeB6IsiiM90g2IQoqBUlTSBIIbzNOhUVb6A8X09 izq8WIYlUCbsNN/5QiZDUJVd1js53FOXWLVY2TemjLpjtnvmu77riy8P4QS4qglHgo65mjRxnIfwL 30JDwsrQ==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rFqYG-00GLf7-1W; Wed, 20 Dec 2023 06:59:32 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Ryusuke Konishi , linux-nilfs@vger.kernel.org Subject: [PATCH] nilfs2: cpfile: fix some kernel-doc warnings Date: Tue, 19 Dec 2023 22:59:31 -0800 Message-ID: <20231220065931.2372-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-nilfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: */