Patch "ksmbd: Add kernel-doc for ksmbd_extract_sharename() function" has been added to the 6.6-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    ksmbd: Add kernel-doc for ksmbd_extract_sharename() function

to the 6.6-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     ksmbd-add-kernel-doc-for-ksmbd_extract_sharename-fun.patch
and it can be found in the queue-6.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 52f27f95cf3af5a015b46291848aab09bee68d84
Author: Yang Li <yang.lee@xxxxxxxxxxxxxxxxx>
Date:   Fri Feb 2 16:13:17 2024 +0800

    ksmbd: Add kernel-doc for ksmbd_extract_sharename() function
    
    [ Upstream commit a12bc36032a2f7917068f9ce9eb26d869e54b31a ]
    
    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@xxxxxxxxxxxxxxxxx>
    Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
    Acked-by: Namjae Jeon <linkinjeon@xxxxxxxxxx>
    Signed-off-by: Steve French <stfrench@xxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/fs/smb/server/misc.c b/fs/smb/server/misc.c
index 9e8afaa686e3a..1a5faa6f6e7bc 100644
--- a/fs/smb/server/misc.c
+++ b/fs/smb/server/misc.c
@@ -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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux