commit | 2bc097ca29d762b73f911dce476fbdfe9c269ab0 | [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 | 0f391cb64a2ea851f7cac2d7c5aac506d4aec0e5 [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