Skip to content

Commit 5d59752

Browse files
lyakhkv2019i
authored andcommitted
vregion: replace error messages with warnings
Error messages make CI fail. Replace them with warnings for an immediate fix but a better solution is needed eventually. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent 4d062a0 commit 5d59752

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zephyr/lib/vregion.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ static void *interim_alloc(struct interim_heap *heap,
191191

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

197197
return ptr;
@@ -236,7 +236,7 @@ static void *lifetime_alloc(struct vlinear_heap *heap,
236236

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

0 commit comments

Comments
 (0)