From d8e3f63af6e0562ca97b705fc001570793c0f612 Mon Sep 17 00:00:00 2001 From: Marcin Maka Date: Mon, 6 Apr 2020 18:47:13 +0200 Subject: [PATCH] alloc: fix reference to rbrealloc in dox Wrong function names used in documentation of rrealloc(). Signed-off-by: Marcin Maka --- src/include/sof/lib/alloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/sof/lib/alloc.h b/src/include/sof/lib/alloc.h index bb54ad216..8bc090b1b 100644 --- a/src/include/sof/lib/alloc.h +++ b/src/include/sof/lib/alloc.h @@ -115,7 +115,7 @@ static inline void *rballoc(uint32_t flags, uint32_t caps, size_t bytes) * @return Pointer to the resized memory or NULL if failed. * * Note: Do not use for buffers (SOF_MEM_ZONE_BUFFER zone). - * Use rballoc(), rballoc_align() to allocate memory for buffers. + * Use rbrealloc(), rbrealloc_align() to reallocate memory for buffers. */ void *rrealloc(void *ptr, enum mem_zone zone, uint32_t flags, uint32_t caps, size_t bytes, size_t old_bytes);