commit | 79c9c0824c46d49eb3af38461fe6580f8141a1b0 | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@st.com> | Tue Dec 21 17:56:52 2021 +0100 |
committer | Yann Gautier <yann.gautier@st.com> | Tue May 30 15:39:50 2023 +0200 |
tree | 4829dcdff18d586f5be2c4fae4c21ffbf26b32dd | |
parent | 3d883e85b0d571915010903b29bcc41f31ced940 [diff] |
fix(stm32mp1): properly check PSCI functions return The psci_get_pstate_* helpers return unsigned int values, update the code accordingly. Remove the useless pstate variable. This corrects MISRA C2012-14.4: The controlling expression of an if statement and the controlling expression of an iteration-statement shall have essentially Boolean type. Change-Id: Idc7e756f4ba2bc0d66a327763013f77f86fe16b2 Signed-off-by: Yann Gautier <yann.gautier@st.com>