]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(st-clock): use Boolean type for tests
authorYann Gautier <yann.gautier@st.com>
Mon, 28 Nov 2022 13:56:58 +0000 (14:56 +0100)
committerYann Gautier <yann.gautier@st.com>
Wed, 7 Dec 2022 13:18:31 +0000 (14:18 +0100)
commitc3ae7da02dd8b358239dde47c3325e333af81056
tree4b101a203ca7b0330f4b26257be43cf1de328829
parent9a00daf9dd0a25da45a43142ca27126e6e26a622
fix(st-clock): 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: Id217d3da223caf75cd0439d7ce11c9efab87b4d2
drivers/st/clk/clk-stm32-core.c
drivers/st/clk/clk-stm32mp13.c