[PATCH 04/15] fs: ntfs: unistr: Add missing param descriptions for 'name{1,2}_len'

From: Lee Jones
Date: Thu May 20 2021 - 08:40:49 EST


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@xxxxxxxxxx>
Cc: linux-ntfs-dev@xxxxxxxxxxxxxxxxxxxxx
Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
---
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