mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
soc: qcom: smem: initialize region struct only when successful
Hold off initializing anything for the array entry representing a memory region in qcom_smem_map_memory() until we know we've successfully mapped it. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
This commit is contained in:
parent
9f01b7a8f1
commit
100d26e8ce
1 changed files with 5 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue