Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: alloc: k_panic is not required in failure case
For rballoc_allign() call when caps are not correct it is enough to return error. k_panic() call is not required here. Previous change exposed this issue: thesofproject#8832, but it is sufficient to log error and return NULL at this point. Signed-off-by: Jaroslaw Stelter <Jaroslaw.Stelter@intel.com>
- Loading branch information