commit | 594f53de5f58d1d6c2b4c9855b30f6b0856617b6 | [log] [tgz] |
---|---|---|
author | Alexei Fedorov <Alexei.Fedorov@arm.com> | Sat Oct 03 12:59:49 2020 +0000 |
committer | TrustedFirmware Code Review <review@review.trustedfirmware.org> | Sat Oct 03 12:59:49 2020 +0000 |
tree | 180fcdb379051e22dbccf7fe0880c6fb99e5a4dd | |
parent | d2707d30e5ff695360715fe88a3d223291312b7a [diff] | |
parent | 05b337031123a00b088a7573468071f04b11a757 [diff] |
Merge "spmd: Fix signedness comparison warning" into integration
diff --git a/services/std_svc/spmd/spmd_pm.c b/services/std_svc/spmd/spmd_pm.c index 64ddbe5..5433e5d 100644 --- a/services/std_svc/spmd/spmd_pm.c +++ b/services/std_svc/spmd/spmd_pm.c
@@ -32,7 +32,7 @@ { int id = plat_core_pos_by_mpidr(mpidr); - if ((id < 0) || (id >= PLATFORM_CORE_COUNT)) { + if ((id < 0) || ((unsigned int)id >= PLATFORM_CORE_COUNT)) { ERROR("%s inconsistent MPIDR (%llx)\n", __func__, mpidr); return -EINVAL; }