Skip to content
Commit 0ae04f01 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Andrew Boie
Browse files

lib/os/heap: make some checks more assertive



Some checks in sys_heap_init() depend on the externally provided size
parameter. If the check fails, this would be a bug outside of the heap
code and therefore should be flagged despite the value of
CONFIG_SYS_HEAP_VALIDATE.

Signed-off-by: default avatarNicolas Pitre <npitre@baylibre.com>
parent 3c55e1fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment