[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210520120043.3462759-5-lee.jones@linaro.org>
Date: Thu, 20 May 2021 13:00:32 +0100
From: Lee Jones <lee.jones@...aro.org>
To: lee.jones@...aro.org
Cc: linux-kernel@...r.kernel.org,
Anton Altaparmakov <anton@...era.com>,
linux-ntfs-dev@...ts.sourceforge.net
Subject: [PATCH 04/15] fs: ntfs: unistr: Add missing param descriptions for 'name{1,2}_len'
Fixes the following W=1 kernel build warning(s):
fs/ntfs/unistr.c:87: warning: Function parameter or member 'name1_len' not described in 'ntfs_collate_names'
fs/ntfs/unistr.c:87: warning: Function parameter or member 'name2_len' not described in 'ntfs_collate_names'
Cc: Anton Altaparmakov <anton@...era.com>
Cc: linux-ntfs-dev@...ts.sourceforge.net
Signed-off-by: Lee Jones <lee.jones@...aro.org>
---
fs/ntfs/unistr.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/ntfs/unistr.c b/fs/ntfs/unistr.c
index a6b6c64f14a93..faa73be4201f1 100644
--- a/fs/ntfs/unistr.c
+++ b/fs/ntfs/unistr.c
@@ -65,7 +65,9 @@ bool ntfs_are_names_equal(const ntfschar *s1, size_t s1_len,
/**
* ntfs_collate_names - collate two Unicode names
* @name1: first Unicode name to compare
+ * @name1_len: length of @name1
* @name2: second Unicode name to compare
+ * @name2_len: length of @name2
* @err_val: if @name1 contains an invalid character return this value
* @ic: either CASE_SENSITIVE or IGNORE_CASE
* @upcase: upcase table (ignored if @ic is CASE_SENSITIVE)
--
2.31.1
Powered by blists - more mailing lists