Searched hist:f00119de5760d5ed876c17884654da14b877386d (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/include/lib/ |
| H A D | utils_def.h | f00119de5760d5ed876c17884654da14b877386d Wed Jul 18 12:23:07 UTC 2018 Antonio Nino Diaz <antonio.ninodiaz@arm.com> Fix check_[uptr/u32]_overflow() macros MISRA defects
Add missing parentheses to fix MISRA C-2012 Rule 12.1.
Also, the result of a comparison is an essentially boolean value, it isn't needed to return 1 or 0 depending on it.
Also, fix header guards (MISRA C-2012 Rule 21.1).
Change-Id: I90c0bcdeb2787c1ca659fc9a981808ece7958de3 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
|