]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(st): use Boolean type for tests
authorYann Gautier <yann.gautier@st.com>
Mon, 21 Nov 2022 12:26:37 +0000 (13:26 +0100)
committerYann Gautier <yann.gautier@st.com>
Wed, 7 Dec 2022 13:20:01 +0000 (14:20 +0100)
commit45d2d495e77c9c8f3e80774e48a80e4882c8ac0d
tree166000ba5900c8152a9d3d59f52cdd7921e7661c
parent0ebaf222899c1c33fe8bd0e69bd2c287ebe1154b
fix(st): use Boolean type for tests

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.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: Ibed7b87b50959f03dc5550dfaffacafd1d79feee
plat/st/common/stm32mp_dt.c