CSS: Fix overrun if system power level is not available
This patch fixes an array overrun in CSS scmi driver if the
system power domain level is less than 2. This was reported from
https://scan.coverity.com/projects/arm-software-arm-trusted-firmware

CID 308492

Change-Id: I3a59c700490816718d20c71141281f19b2b7e7f7
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
1 parent 438e789 commit d4ee9aa6cd3ed80593a832cab393c615b5723dfe
@Soby Mathew Soby Mathew authored on 10 Sep 2018
Showing 1 changed file
View
plat/arm/css/drivers/scp/css_pm_scmi.c