Searched hist:"0605 b7e8af4980d4e26afc6720dcbf2644633c53" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/include/lib/ |
| H A D | utils_def.h | 0605b7e8af4980d4e26afc6720dcbf2644633c53 Tue Jun 18 06:41:29 UTC 2024 Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> fix(lib): fix MISRA 12.2 violations for BIT32 and BIT64 macros
MISRA interprets all unsigned integer literals as UTLR, which has the lowest rank required to represent a value. In this specific case, the value 1U was interpreted as an unsigned char. As a result, explicit casts are necessary to avoid issues with MISRA 12.2.
Change-Id: I4c1231ffabb27442c6a48dabd96942574d27c719 Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
|