Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/ipc/ipc-host-ptable.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,13 @@ static int ipc_parse_page_descriptors(uint8_t *page_table,

elem_array->elems = rzalloc(SOF_MEM_ZONE_RUNTIME, 0, SOF_MEM_CAPS_RAM,
sizeof(struct dma_sg_elem) * ring->pages);
if (!elem_array->elems)
if (!elem_array->elems) {
trace_ipc_error("ipc_parse_page_descriptors() error: "
"There is no heap free with this block size: %d",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Split string?

sizeof(struct dma_sg_elem) * ring->pages);
return -ENOMEM;
}

elem_array->count = ring->pages;

for (i = 0; i < ring->pages; i++) {
Expand Down