Skip to content

Commit a12bc36

Browse files
Yang LiSteve French
authored andcommitted
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. Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Acked-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
1 parent 54be6c6 commit a12bc36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/smb/server/misc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ char *ksmbd_casefold_sharename(struct unicode_map *um, const char *name)
261261

262262
/**
263263
* ksmbd_extract_sharename() - get share name from tree connect request
264+
* @um: pointer to a unicode_map structure for character encoding handling
264265
* @treename: buffer containing tree name and share name
265266
*
266267
* Return: share name on success, otherwise error

0 commit comments

Comments
 (0)