aboutsummaryrefslogtreecommitdiff
path: root/drivers/mpu
diff options
context:
space:
mode:
authorLedion Daja <ledion.daja@arm.com>2023-02-17 09:37:58 +0100
committerLedion Daja <ledion.daja@arm.com>2023-03-14 11:21:33 +0100
commitb0aacb484c2316b71909b3b7cb6968879e5bc8ca (patch)
treef8b78eb812023ef9d880fc6f404ff55af7cfc76c /drivers/mpu
parent00b8e7beb4fef59c5bef3bc963dfff5bd11718b6 (diff)
downloadethos-u-core-platform-b0aacb484c2316b71909b3b7cb6968879e5bc8ca.tar.gz
Fix SEI CERT coding standard warnings
Change-Id: I47fdf29a50440c82fd9ccf111a846bf87e8a9e29
Diffstat (limited to 'drivers/mpu')
-rw-r--r--drivers/mpu/src/mpu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mpu/src/mpu.cpp b/drivers/mpu/src/mpu.cpp
index bd5c6cd..3f9e62a 100644
--- a/drivers/mpu/src/mpu.cpp
+++ b/drivers/mpu/src/mpu.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020-2022 Arm Limited. All rights reserved.
+ * SPDX-FileCopyrightText: Copyright 2020-2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -47,7 +47,7 @@ void dump() {
for (size_t region = 0; region < mpuRegions; region++) {
MPU->RNR = region;
- printf("-- Region %2d - RBAR:%08" PRIx32 " RLAR:%08" PRIx32 "\n", region, MPU->RBAR, MPU->RLAR);
+ printf("-- Region %2u - RBAR:%08" PRIx32 " RLAR:%08" PRIx32 "\n", region, MPU->RBAR, MPU->RLAR);
}
#endif
}