commit | e5dcae2cf34fe25c5bdb5ebcca19fd93f8b65710 | [log] [tgz] |
---|---|---|
author | AlexeiFedorov <Alexei.Fedorov@arm.com> | Tue Aug 29 12:58:18 2023 +0100 |
committer | Soby Mathew <soby.mathew@arm.com> | Tue Sep 05 15:04:47 2023 +0200 |
tree | fc74dcbf1b626a69a18b6dd0e0a52acfff91aae0 | |
parent | e7b7da0f2c72afd6c5541ff7097e0c5313fb8007 [diff] [blame] |
fix(runtime): fix MISRA C:2012 Rule 10.1 in psci & realm_attest Signed-off-by: AlexeiFedorov <Alexei.Fedorov@arm.com> Change-Id: Iac99dade27d53643d38a4d95c776a9f2c2000e09
diff --git a/runtime/rsi/psci.c b/runtime/rsi/psci.c index 1762693..22b9283 100644 --- a/runtime/rsi/psci.c +++ b/runtime/rsi/psci.c
@@ -313,7 +313,7 @@ break; } - if ((res->action & FLAG_EXIT_TO_HOST) != 0) { + if (((unsigned int)res->action & FLAG_EXIT_TO_HOST) != 0U) { rec_exit->exit_reason = RMI_EXIT_PSCI; } }