Hi,
Please find the latest report on new defect(s) introduced to ARM-software/arm-trusted-firmware found with Coverity Scan.
1 new defect(s) introduced to ARM-software/arm-trusted-firmware found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 447712: Integer handling issues (NO_EFFECT)
/plat/arm/board/fvp/fvp_pm.c: 332 in fvp_node_hw_state()
________________________________________________________________________________________________________
*** CID 447712: Integer handling issues (NO_EFFECT)
/plat/arm/board/fvp/fvp_pm.c: 332 in fvp_node_hw_state()
326 int ret = 0;
327
328 /*
329 * The format of 'power_level' is implementation-defined, but 0 must
330 * mean a CPU. We also allow 1 to denote the cluster
331 */
>>> CID 447712: Integer handling issues (NO_EFFECT)
>>> This less-than-zero comparison of an unsigned value is never true. "power_level < 0ULL".
332 if ((power_level < ARM_PWR_LVL0) || (power_level > ARM_PWR_LVL1))
333 return PSCI_E_INVALID_PARAMS;
334
335 /*
336 * Read the status of the given MPDIR from FVP power controller. The
337 * power controller only gives us on/off status, so map that to expected
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2…