msm: ipa: add null check and initialize the variable

Add null check to avoid crash and initialize the
variable before using it.

CRs-Fixed: 556930 556936 556939

Change-Id: I1d2cda36f5943a5876ff77511ecea922055c0627
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Merge "msm: ipa: add null check and initialize the variable"
msm: ipa: a2_service: memory leak in tethered path

Fix a memory leak in case that tethered client has no callback
function and data arrives from A2 on the tethered path.

Change-Id: Ie1bfac7015fb34b4f0d77d0e49238c72d6f558f7
CRs-Fixed: 576846
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Gidon Studinski <gidons@codeaurora.org>
Merge "msm: ipa: a2_service: memory leak in tethered path"
msm: qdsp6v2: memset stack buffer allocation.

This is needed to avoid garbage data in uninitialized variables.

Change-Id: Ic4b4d7481644c2add187a9122a4e7cfe7255b379
CRs-Fixed: 553304
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
msm: qdsp6v2: memset stack buffer allocation.

This is needed to avoid garbage data in uninitialized variables.

Change-Id: Ifbe149c25c0c824b74d45e30d85a1c50670a81e0
CRs-Fixed: 554301
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
Merge "msm: qdsp6v2: memset stack buffer allocation."
Merge "msm: qdsp6v2: memset stack buffer allocation."