From patchwork Tue Dec 19 04:54:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 180753 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp1717477dyi; Mon, 18 Dec 2023 20:54:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IHByx0z2c1SYVavKQt32lstZeU4VYFQbenI7F7C2YuYNn7wD4rxVKXrwNuAYgYUcZqxq1J9 X-Received: by 2002:a05:6512:2399:b0:50e:3a87:4b4b with SMTP id c25-20020a056512239900b0050e3a874b4bmr1521993lfv.87.1702961673288; Mon, 18 Dec 2023 20:54:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702961673; cv=none; d=google.com; s=arc-20160816; b=yIKEXya/SThiYcfkTW60zmEPoQvtsMUOJI6UhG/9SE9fyGV8VF4v8W2HYCEH+hQUak AwnD1mBJUgsP8FcKzWDgziXtinbFIYCxdnP8ARiENh77kRQAysUBYwlOIqBOzTJJlgLX xHUrqfB+YNsiQKxP+eKM9gpP+p/z1QgzFNbOrFC+69lUtx2bCk07dvhbYQ6E916+7xlS KtblUAQRNe40XE7bLL3EdOaQmd/2+XzOp1lRxxYG5T9GT4W5gr2TSrq95IsOk9qN4Ngq RDBWwobeNh8JqXwZLJxGl+jVOtewvRaupu+Gk2TZTG9IgDFEinnxBg2CsSXvdjzJM32s juIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=YEGuvprQ3dTZw1JyhXzIpAPhUvuaG4lj/1PCwJqLmsU=; fh=H9IlF/O43hdh+peO/pm7fzRXzsC0uV9u3uZaXMAb0QQ=; b=zRIRGpSjt0adpWEthFLvoRMrHpv49qymVZrC6H/0K6X8nX4mqhuNE1o8bbh4LZgcdw tjyJsUZSX++J4c3MUSV5c9yZ4eupb0IXdwZqECR7L33+J4KLwiXhqZ12wd/yRvmXrZTg n2YmzA1Uy9ssUejsLshmaKDaLvlxecYwSfPFP5AqqrBv4CKgA1C6beDWdmfQ+0RGncEw Mb2z43z7YT4sXMgsgCgd2ZIQW5bjSH8/Gc9/mSVNGltI7PoJyv68tU73Y9WQlfacWYNT stHMaJ5+LNKkZ7mvq5INSdKKwYImYFeFGwITod4YETzduuVjkyrWgE0YY8CcFWoK2hZe 3XHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=E9SpQ03x; spf=pass (google.com: domain of linux-kernel+bounces-4697-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4697-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id s2-20020a170906500200b00a1e269eba03si10414481ejj.593.2023.12.18.20.54.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 20:54:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4697-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=E9SpQ03x; spf=pass (google.com: domain of linux-kernel+bounces-4697-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4697-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id BEFC41F24983 for ; Tue, 19 Dec 2023 04:54:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 70B0F7486; Tue, 19 Dec 2023 04:54:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="E9SpQ03x" 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 8AB335393 for ; Tue, 19 Dec 2023 04:54:16 +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: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=YEGuvprQ3dTZw1JyhXzIpAPhUvuaG4lj/1PCwJqLmsU=; b=E9SpQ03xB6fI5bC3pH27Slea9p X6RbEVvKPJKL0aO9jpblnfckeZQU75LiYMUWUxROTZ0zyZWSOc7Yjc7QAzzFf/VUzMcqpFuCjpbrM LysbfQvcP2Ig8PFMcGSUI5loo+zSszL3FcP+QvwonBF8Y+WUamOel8leVVo6A+q2a/e46KlukfuEo 0jlbNR478vdlxsq9PIDM7WRQv6mwN6pH7xc2Fwa1ApW+aY7GKed9QcxMAK6Q01tpJ2uS0GjfYw67Q aMNMVKidLv/r3nC1iMLF8eg1PtmwXd9luExg058pO8vgrx4eMmXPqGd07f8PUytnyOtLAMiPR498O 8sHo4XWA==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rFS7T-00CqDi-0v; Tue, 19 Dec 2023 04:54:15 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Anton Altaparmakov , Namjae Jeon , linux-ntfs-dev@lists.sourceforge.net, Andrew Morton Subject: [PATCH] ntfs: dir.c: fix kernel-doc function parameter warnings Date: Mon, 18 Dec 2023 20:54:14 -0800 Message-ID: <20231219045414.24670-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785684739897620279 X-GMAIL-MSGID: 1785684739897620279 Correct the kernel-doc function parameter warnings for function ntfs_dir_fsync() to prevent the following kernel-doc warnings: dir.c:1489: warning: Function parameter or member 'start' not described in 'ntfs_dir_fsync' dir.c:1489: warning: Function parameter or member 'end' not described in 'ntfs_dir_fsync' dir.c:1489: warning: Excess function parameter 'dentry' description in 'ntfs_dir_fsync' Signed-off-by: Randy Dunlap Cc: Anton Altaparmakov Cc: Namjae Jeon Cc: linux-ntfs-dev@lists.sourceforge.net Cc: Andrew Morton Reviewed-by: Namjae Jeon --- fs/ntfs/dir.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -- a/fs/ntfs/dir.c b/fs/ntfs/dir.c --- a/fs/ntfs/dir.c +++ b/fs/ntfs/dir.c @@ -1462,7 +1462,8 @@ static int ntfs_dir_open(struct inode *v /** * ntfs_dir_fsync - sync a directory to disk * @filp: directory to be synced - * @dentry: dentry describing the directory to sync + * @start: offset in bytes of the beginning of data range to sync + * @end: offset in bytes of the end of data range (inclusive) * @datasync: if non-zero only flush user data and not metadata * * Data integrity sync of a directory to disk. Used for fsync, fdatasync, and