all: Add 'U' suffix when using unsigned variables
Add a 'U' suffix to values when computing and comparing against unsigned variables. Signed-off-by: Patrik Flykt <patrik.flykt@intel.com>
This commit is contained in:
parent
caebf204c6
commit
24d71431e9
559 changed files with 2331 additions and 2328 deletions
|
@ -24,7 +24,7 @@ void disable_mpu_rasr_xn(void)
|
|||
/* Kept the max index as 8(irrespective of soc) because the sram
|
||||
* would most likely be set at index 2.
|
||||
*/
|
||||
for (index = 0; index < 8; index++) {
|
||||
for (index = 0U; index < 8; index++) {
|
||||
MPU->RNR = index;
|
||||
if (MPU->RASR & MPU_RASR_XN_Msk) {
|
||||
MPU->RASR ^= MPU_RASR_XN_Msk;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue