ksmbd: Fix parameter name and comment mismatch
Subsystems (2)
PATCH 1/1 ksmbd: Fix parameter name and comment mismatch
fs/ksmbd/vfs.c:965: warning: Function parameter or member 'attr_value' not described in 'ksmbd_vfs_setxattr'.
Reported-by Abaci Robot <[email protected]>
Signed-off-by Jiapeng Chong <[email protected]>
--- fs/ksmbd/vfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
fs/ksmbd/vfs.c +3 -3
@@ -952,9 +952,9 @@ ssize_t ksmbd_vfs_getxattr(struct mnt_idmap *idmap,* ksmbd_vfs_setxattr() - vfs helper for smb set extended attributes value * @idmap: idmap of the relevant mount * @dentry: dentry to set XATTR at -* @name: xattr name for setxattr -* @value: xattr value to set -* @size: size of xattr value +* @attr_name: xattr name for setxattr +* @attr_value: xattr value to set +* @attr_size: size of xattr value * @flags: destination buffer length * * Return: 0 on success, otherwise error
Signature · 1 line
2.20.1.7.g153144c
2023-02-06 16:20 GMT+09:00, Jiapeng Chong <[email protected]>:
Quoted 6 lines
fs/ksmbd/vfs.c:965: warning: Function parameter or member 'attr_value' not described in 'ksmbd_vfs_setxattr'.Reported-by Abaci Robot <[email protected]>Signed-off-by Jiapeng Chong <[email protected]>
Acked-by Namjae Jeon <[email protected]>
Thanks.
Quoted 6 lines · Jiapeng Chong
fs/ksmbd/vfs.c:965: warning: Function parameter or member 'attr_value' not described in 'ksmbd_vfs_setxattr'.Reported-by Abaci Robot <[email protected]>Signed-off-by Jiapeng Chong <[email protected]>
Reviewed-by Sergey Senozhatsky <[email protected]>