commit | f80c64d56ee4fd0ad186a885287f442f30559f75 | [log] [tgz] |
---|---|---|
author | Max Shvetsov <maksims.svecovs@arm.com> | Tue Aug 25 11:50:18 2020 +0100 |
committer | Max Shvetsov <maksims.svecovs@arm.com> | Mon Sep 07 16:16:35 2020 +0100 |
tree | 3cef013f24c94da815f89422c0018df87cb40872 | |
parent | aeb5f054c5f6977f9d426983c6e0dd3f9354827a [diff] |
Fix: fixing coverity issue for SPM Core. spmd_get_context_by_mpidr was using potentially negative value as an array index. plat_core_pos_by_mpidr could return -1 on failure which is utilized by some platforms. Signed-off-by: Max Shvetsov <maksims.svecovs@arm.com> Change-Id: I7f8827e77f18da389c9cafdc1fc841aba9f03120