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

Skip to content
Commit 0cc3c2ff authored by Yong Ding's avatar Yong Ding Committed by Gerrit - the friendly Code Review server
Browse files

soc: qcom: hab: initialize the hab_message pointer as NULL



The had_message pointer should be initialized as NULL before
calling hab_vchan_recv(). Furtherly, inside the hab_vchan_recv(),
it is good to also clear it as NULL when the virtual channel
is not found. Then there is such guarantee by both the caller
and the callee.

Change-Id: Id8c46e1828fb3af0c42a9f59f68148717c511e6e
Signed-off-by: default avatarYong Ding <yongding@codeaurora.org>
parent 61d654d3
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