commit | 8406db14fbba19c25d000eaeab538a0474795da1 | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@st.com> | Fri Nov 18 15:00:43 2022 +0100 |
committer | Yann Gautier <yann.gautier@st.com> | Wed Dec 07 14:16:03 2022 +0100 |
tree | d82a712c2eaeaecd31962b425439992c105ca0ee | |
parent | 825641d6150f05c1bcf6328ec726f46f2e9e37f9 [diff] |
fix: add parenthesis for tests in MIN, MAX and CLAMP macros This corrects the MISRA violation C2012-12.1: The precedence of operators within expressions should be made explicit Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I62083c43b3f633504cac3497efe2e984924c63b2