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
4 changes: 2 additions & 2 deletions zephyr/lib/vregion.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ static void *interim_alloc(struct interim_heap *heap,

ptr = k_heap_aligned_alloc(&heap->heap, align, size, K_NO_WAIT);
if (!ptr)
LOG_ERR("error: interim alloc failed for %d bytes align %d",
LOG_WRN("interim alloc failed for %d bytes align %d",
size, align);

return ptr;
Expand Down Expand Up @@ -236,7 +236,7 @@ static void *lifetime_alloc(struct vlinear_heap *heap,

/* check we have enough lifetime space left */
if (heap_obj_size + heap->used > heap->size) {
LOG_ERR("error: lifetime alloc failed for object %d heap %d bytes free %d",
LOG_WRN("lifetime alloc failed for object %d heap %d bytes free %d",
size, heap_obj_size, heap->size - heap->used);
return NULL;
}
Expand Down
Loading