aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2012-10-11 15:05:10 -0400
committerJiri Kosina <jkosina@suse.cz>2012-10-15 16:43:02 -0400
commit0db10c8e8ff24559b3768b8d010191b01e0940ae (patch)
tree44402b393da75e61ce01873e02a4f275b9f6c973 /mm
parent99dbb1632f1165c2726056ebfce6edde0e5a0208 (diff)
krealloc: Fix kernel-doc comment
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>
Diffstat (limited to 'mm')
-rw-r--r--mm/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/util.c b/mm/util.c
index 8c7265afa29f..3a5278c08d76 100644
--- a/mm/util.c
+++ b/mm/util.c
@@ -145,7 +145,7 @@ EXPORT_SYMBOL(__krealloc);
145 * 145 *
146 * The contents of the object pointed to are preserved up to the 146 * The contents of the object pointed to are preserved up to the
147 * lesser of the new and old sizes. If @p is %NULL, krealloc() 147 * lesser of the new and old sizes. If @p is %NULL, krealloc()
148 * behaves exactly like kmalloc(). If @size is 0 and @p is not a 148 * behaves exactly like kmalloc(). If @new_size is 0 and @p is not a
149 * %NULL pointer, the object pointed to is freed. 149 * %NULL pointer, the object pointed to is freed.
150 */ 150 */
151void *krealloc(const void *p, size_t new_size, gfp_t flags) 151void *krealloc(const void *p, size_t new_size, gfp_t flags)