diff options
author | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-07-18 13:23:07 +0100 |
---|---|---|
committer | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-07-20 11:36:00 +0100 |
commit | f00119de5760d5ed876c17884654da14b877386d (patch) | |
tree | 7b211e27ea4cefbe77381f3be5b623242e28d3b7 /lib/psci/psci_common.c | |
parent | 029f5a28a8dd016e207f1c81bc961674d1528404 (diff) | |
download | platform_external_arm-trusted-firmware-f00119de5760d5ed876c17884654da14b877386d.tar.gz platform_external_arm-trusted-firmware-f00119de5760d5ed876c17884654da14b877386d.tar.bz2 platform_external_arm-trusted-firmware-f00119de5760d5ed876c17884654da14b877386d.zip |
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>
Diffstat (limited to 'lib/psci/psci_common.c')
0 files changed, 0 insertions, 0 deletions