ksmbd: Add kernel-doc for ksmbd_extract_sharename() function
Subsystems (2)
PATCH 1/1 ksmbd: Add kernel-doc for ksmbd_extract_sharename() function
The ksmbd_extract_sharename() function lacked a complete kernel-doc comment. This patch adds parameter descriptions and detailed function behavior to improve code readability and maintainability.
--- fs/smb/server/misc.c | 1 + 1 file changed, 1 insertion(+)
fs/smb/server/misc.c +1 -0
@@ -261,6 +261,7 @@ char *ksmbd_casefold_sharename(struct unicode_map *um, const char *name)/** * ksmbd_extract_sharename() - get share name from tree connect request +* @um: pointer to a unicode_map structure for character encoding handling * @treename: buffer containing tree name and share name * * Return: share name on success, otherwise error
Signature · 1 line
2.20.1.7.g153144c
Quoted 5 lines · Yang Li
The
ksmbd_extract_sharename()function lacked a complete kernel-doc comment. This patch adds parameter descriptions and detailed function behavior to improve code readability and maintainability.Signed-off-by Yang Li <[email protected]>
Thanks.
Quoted 16 lines
--- fs/smb/server/misc.c | 1 + 1 file changed, 1 insertion(+)fs/smb/server/misc.c +1
-0@@ -261,6 +261,7 @@ char *ksmbd_casefold_sharename(struct unicode_map *um, const char *name)/** * ksmbd_extract_sharename() - get share name from tree connect request +* @um: pointer to a unicode_map structure for character encoding handling * @treename: buffer containing tree name and share name * * Return: share name on success, otherwise error
Signature · 1 line
#Randy
2024-02-02 17:13 GMT+09:00, Yang Li <[email protected]>:
Quoted 5 lines
The
ksmbd_extract_sharename()function lacked a complete kernel-doc comment. This patch adds parameter descriptions and detailed function behavior to improve code readability and maintainability.Signed-off-by Yang Li <[email protected]>
Applied it with Randy's acked-by tag to #ksmbd-for-next-next. Thanks for your patch.