commit | 64ea8f4a6e4a6d322a651211ce52fe987d8fe808 | [log] [tgz] |
---|---|---|
author | Neeti Desai <neetid@codeaurora.org> | Fri May 17 15:05:29 2013 -0700 |
committer | Neeti Desai <neetid@codeaurora.org> | Mon May 20 11:36:06 2013 -0700 |
tree | 0dfc73116284eb608a45d8862f16d76bee519329 | |
parent | 52b6b31ccf904c550e3732e0d3ef97d3682582a4 [diff] |
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: Neeti Desai <neetid@codeaurora.org>