* [PATCH] mm/shmem: fix functions documentation
@ 2025-03-10 11:25 Enrico Bravi
0 siblings, 0 replies; only message in thread
From: Enrico Bravi @ 2025-03-10 11:25 UTC (permalink / raw)
To: hughd, akpm, linux-mm; +Cc: linux-kernel, Enrico Bravi
Add missing parenthesis in @name parameter description.
Signed-off-by: Enrico Bravi <enrico.bravi@polito.it>
---
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-03-10 11:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-10 11:25 [PATCH] mm/shmem: fix functions documentation Enrico Bravi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox