Commit 57477bc7 authored by Olivier Deprez's avatar Olivier Deprez Committed by TrustedFirmware Code Review
Browse files

Merge "Fix coverity defects found on the FPGA port." into integration

Showing with 5 additions and 1 deletion
+5 -1
......@@ -41,9 +41,13 @@ uintptr_t fpga_sec_entrypoint;
*/
static int fpga_pwr_domain_on(u_register_t mpidr)
{
unsigned int pos = plat_core_pos_by_mpidr(mpidr);
int pos = plat_core_pos_by_mpidr(mpidr);
unsigned long current_mpidr = read_mpidr_el1();
if (pos < 0) {
panic();
}
if (mpidr == current_mpidr) {
return PSCI_E_ALREADY_ON;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment