path: root/mm/util.c
diff options
authorMike Rapoport <>2018-08-23 17:00:59 -0700
committerLinus Torvalds <>2018-08-23 18:48:43 -0700
commitb86181f1ad94054ae953d81452329377abeec0a8 (patch)
treec7fa702f602859f262573567b3c287e9b28a5ef6 /mm/util.c
parenta2036a1ef2ee91acab01a0ae4a534070691a42ec (diff)
mm/util: make strndup_user description a kernel-doc comment
Patch series "memory management documentation updates", v3. Here are several updates to the mm documentation. Aside from really minor changes in the first three patches, the updates are: * move the documentation of kstrdup and friends to "String Manipulation" section * split memory management API into a separate .rst file * adjust formating of the GFP flags description and include it in the reference documentation. This patch (of 7): The description of the strndup_user function misses '*' character at the beginning of the comment to be proper kernel-doc. Add the missing character. Link: Signed-off-by: Mike Rapoport <> Reviewed-by: Andrew Morton <> Cc: Jonathan Corbet <> Cc: Matthew Wilcox <> Cc: Michal Hocko <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'mm/util.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/util.c b/mm/util.c
index 3351659200e6..6809014cf4c8 100644
--- a/mm/util.c
+++ b/mm/util.c
@@ -196,7 +196,7 @@ void *vmemdup_user(const void __user *src, size_t len)
* strndup_user - duplicate an existing string from user space
* @s: The string to duplicate
* @n: Maximum number of bytes to copy, including the trailing NUL.