Messages in this thread Patch in this message |  | | From | Lee Jones <> | | Subject | [PATCH 04/15] fs: ntfs: unistr: Add missing param descriptions for 'name{1,2}_len' | | Date | Thu, 20 May 2021 13:00:32 +0100 |
| |
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@tuxera.com> Cc: linux-ntfs-dev@lists.sourceforge.net Signed-off-by: Lee Jones <lee.jones@linaro.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
|  |