Skip to content

Commit

Permalink
krealloc: Fix kernel-doc comment
Browse files Browse the repository at this point in the history
It should say "@new_size" and not "@SiZe". Correct that.

Signed-off-by: Borislav Petkov <[email protected]>
Cc: [email protected]
Signed-off-by: Jiri Kosina <[email protected]>
  • Loading branch information
Borislav Petkov authored and Jiri Kosina committed Oct 15, 2012
1 parent 99dbb16 commit 0db10c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ EXPORT_SYMBOL(__krealloc);
*
* The contents of the object pointed to are preserved up to the
* lesser of the new and old sizes. If @p is %NULL, krealloc()
* behaves exactly like kmalloc(). If @size is 0 and @p is not a
* behaves exactly like kmalloc(). If @new_size is 0 and @p is not a
* %NULL pointer, the object pointed to is freed.
*/
void *krealloc(const void *p, size_t new_size, gfp_t flags)
Expand Down

0 comments on commit 0db10c8

Please sign in to comment.