Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5d9ae790 authored by Neeti Desai's avatar Neeti Desai Committed by Stephen Boyd
Browse files

msm: ocmem: Improve error handling during allocation of ocmem memory



The unsigned long address variable cannot be used to return errors
from the allocation function because it does not correctly report
signed errors.

Update the allocate_head() and allocate_tail() functions to
seperate the return value from the offset address.

Change-Id: I1258623c15d241649cd1ce32230928bbbe5d35ad
Signed-off-by: default avatarNeeti Desai <neetid@codeaurora.org>
parent 3ac4d07f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment