[PATCH] mm/shmem: fix functions documentation

From: Enrico Bravi
Date: Mon Mar 10 2025 - 07:47:37 EST


Add missing parenthesis in @name parameter description.

Signed-off-by: Enrico Bravi <enrico.bravi@xxxxxxxxx>
---
mm/shmem.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/mm/shmem.c b/mm/shmem.c
index 4ea6109a8043..e72dbdc0b180 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -5830,7 +5830,7 @@ static struct file *__shmem_file_setup(struct vfsmount *mnt, const char *name,
* underlying inode. So users of this interface must do LSM checks at a
* higher layer. The users are the big_key and shm implementations. LSM
* checks are provided at the key or shm level rather than the inode.
- * @name: name for dentry (to be seen in /proc/<pid>/maps
+ * @name: name for dentry (to be seen in /proc/<pid>/maps)
* @size: size to be set for the file
* @flags: VM_NORESERVE suppresses pre-accounting of the entire object size
*/
@@ -5842,7 +5842,7 @@ EXPORT_SYMBOL_GPL(shmem_kernel_file_setup);

/**
* shmem_file_setup - get an unlinked file living in tmpfs
- * @name: name for dentry (to be seen in /proc/<pid>/maps
+ * @name: name for dentry (to be seen in /proc/<pid>/maps)
* @size: size to be set for the file
* @flags: VM_NORESERVE suppresses pre-accounting of the entire object size
*/
@@ -5855,7 +5855,7 @@ EXPORT_SYMBOL_GPL(shmem_file_setup);
/**
* shmem_file_setup_with_mnt - get an unlinked file living in tmpfs
* @mnt: the tmpfs mount where the file will be created
- * @name: name for dentry (to be seen in /proc/<pid>/maps
+ * @name: name for dentry (to be seen in /proc/<pid>/maps)
* @size: size to be set for the file
* @flags: VM_NORESERVE suppresses pre-accounting of the entire object size
*/

base-commit: 80e54e84911a923c40d7bee33a34c1b4be148d7a
--
2.47.1