]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(st-regulator): enclose macro parameters in parentheses
authorYann Gautier <yann.gautier@st.com>
Fri, 25 Nov 2022 15:25:46 +0000 (16:25 +0100)
committerYann Gautier <yann.gautier@st.com>
Wed, 7 Dec 2022 13:18:31 +0000 (14:18 +0100)
commit91af163cbbfab936e70568998e8b9dcb10203b8e
tree6e877a4b21a5f2fce38db101a98b3c5203fce807
parent6a3ffb53910f136d14ddad5042da01a03e5087c4
fix(st-regulator): enclose macro parameters 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: I9989a5aaacf17f6f7a65381c8d41f21a35f6ddd9
drivers/st/regulator/regulator_core.c