]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(st-pmic): enclose macro parameter in parentheses
authorYann Gautier <yann.gautier@st.com>
Thu, 24 Nov 2022 17:14:26 +0000 (18:14 +0100)
committerYann Gautier <yann.gautier@st.com>
Wed, 7 Dec 2022 13:18:30 +0000 (14:18 +0100)
commitbe7195d06cb7731fe0d906c6eabe6cb6f39f29b1
treec051af5ece7745508a2f75e07e920340e4f47b88
parent825641d6150f05c1bcf6328ec726f46f2e9e37f9
fix(st-pmic): enclose macro parameter in parentheses

This corrects MISRA C2012-20.7
Expressions resulting from the expansion of macro parameters shall be
enclosed in parentheses.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: I9269d7a5b6aa4573bc0ca55b3054c3475dc4b6b2
drivers/st/pmic/stm32mp_pmic.c