Hi,
Please find the latest report on new defect(s) introduced to ARM-software/arm-trusted-firmware found with Coverity Scan.
** CID 487601: Control flow issues (DEADCODE)
/plat/mediatek/drivers/spm/mt8189/mt_spm_pmic_lp.c: 157 in set_vcore_lp_volt()
_____________________________________________________________________________________________
*** CID 487601: Control flow issues (DEADCODE)
/plat/mediatek/drivers/spm/mt8189/mt_spm_pmic_lp.c: 157 in set_vcore_lp_volt()
151 {
152 /* allow 0.35V ~ 0.75V */
153 if (volt < VCORE_0_35V)
154 return;
155 if (volt > VCORE_0_75V)
156 return;
>>> CID 487601: Control flow issues (DEADCODE)
>>> Execution cannot reach this statement: "vcore_suspend_vol = volt;".
157 vcore_suspend_vol = volt;
158 }
159
160 uint32_t get_vcore_lp_volt(void)
161 {
162 return vcore_suspend_vol;
Best regards,
The Coverity Scan Admin Team