Unify type of "cpu_idx" across PSCI module.
authorDeepika Bhavnani <deepika.bhavnani@arm.com>
Mon, 26 Aug 2019 21:32:24 +0000 (00:32 +0300)
committerDeepika Bhavnani <deepika.bhavnani@arm.com>
Thu, 12 Sep 2019 22:30:03 +0000 (01:30 +0300)
commitfc81021aedf01a922686bc9fa22de411ec80592b
treeed06b974d7bf61e1d52b56a70e9f4b305d0965a0
parent5dbdf8e4eac1d5999f07976f9f430894b0784907
Unify type of "cpu_idx" across PSCI module.

cpu_idx is used as mix of `unsigned int` and `signed int` in code
with typecasting at some places. This change is to unify the
cpu_idx as `unsigned int` as underlying API;s `plat_my_core_pos`
returns `unsigned int`

It was discovered via coverity issue CID 354715

Signed-off-by: Deepika Bhavnani <deepika.bhavnani@arm.com>
Change-Id: I4f0adb0c596ff1177210c5fe803bff853f2e54ce
lib/psci/psci_common.c
lib/psci/psci_private.h