mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
mm/util.c: fix strndup_user() comment
The kerneldoc misdescribes strndup_user()'s return value. Cc: Dan Carpenter <[email protected]> Cc: Timur Tabi <[email protected]> Cc: Mihai Caraman <[email protected]> Cc: Kumar Gala <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
acaf892ecb
commit
e91455217d
1 changed files with 1 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ EXPORT_SYMBOL(vmemdup_user);
|
|||
* @s: The string to duplicate
|
||||
* @n: Maximum number of bytes to copy, including the trailing NUL.
|
||||
*
|
||||
* Return: newly allocated copy of @s or %NULL in case of error
|
||||
* Return: newly allocated copy of @s or an ERR_PTR() in case of error
|
||||
*/
|
||||
char *strndup_user(const char __user *s, long n)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue