krealloc: Fix kernel-doc comment
authorBorislav Petkov <borislav.petkov@amd.com>
Thu, 11 Oct 2012 19:05:10 +0000 (21:05 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 15 Oct 2012 20:43:02 +0000 (22:43 +0200)
It should say "@new_size" and not "@size". Correct that.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Cc: trivial@kernel.org
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
mm/util.c

index 8c7265afa29f2109b884907daa050b79f0b25f8b..3a5278c08d76157343686ecfd2abe78e31ac924f 100644 (file)
--- a/mm/util.c
+++ b/mm/util.c
@@ -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)