Merge "spmd: Fix signedness comparison warning" into integration

This commit is contained in:
Alexei Fedorov 2020-10-03 12:59:49 +00:00 committed by TrustedFirmware Code Review
commit c2c03e7525
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ int spmd_pm_secondary_core_set_ep(unsigned long long mpidr,
{
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;
}