Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0db10c8e authored by Borislav Petkov's avatar Borislav Petkov Committed by Jiri Kosina
Browse files

krealloc: Fix kernel-doc comment



It should say "@new_size" and not "@size". Correct that.

Signed-off-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
Cc: trivial@kernel.org
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 99dbb163
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)