soc: qcom: smem: Fix possible use of uninitialized variable

Usage of uninitialized variable remote_host happens if common partition
header hosts value dont match with TOC values.

Add common partition check and error log if hosts mismatch with TOC.

CRs-Fixed: 1113351
Change-Id: I15f8823751abccf87c55e570a8a762bfb2cfb2df
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
1 file changed