commit | fb91ce2e2173b798c6a34c6abc3f627c02dbf425 | [log] [tgz] |
---|---|---|
author | Daniel Leung <daniel.leung@intel.com> | Thu Nov 11 12:49:58 2021 -0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Mon Nov 22 12:45:22 2021 -0500 |
tree | 9485bea6abddccadfe5d6b6996edae124fcd3e02 | |
parent | 2ffd49310aa06235a0e2c1645e7e64695393a1ff [diff] |
kernel: mem_domain: init function to return error values This changes k_mem_domain_init() to return error values instead of asserting when errors are encountered. This gives applications a chance to recover if needed. Signed-off-by: Daniel Leung <daniel.leung@intel.com>