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>
1 parent 029f5a2 commit f00119de5760d5ed876c17884654da14b877386d
@Antonio Nino Diaz Antonio Nino Diaz authored on 18 Jul 2018
Showing 1 changed file
View
include/lib/utils_def.h