mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 01:54:22 +00:00
Merge "spmd: Fix signedness comparison warning" into integration
This commit is contained in:
commit
c2c03e7525
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue