Skip to content

Commit

Permalink
alloc: fix reference to rbrealloc in dox
Browse files Browse the repository at this point in the history
Wrong function names used in documentation of rrealloc().

Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
  • Loading branch information
Marcin Maka authored and lgirdwood committed Apr 8, 2020
1 parent 75b8c1e commit d8e3f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/sof/lib/alloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d8e3f63

Please sign in to comment.