aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJonathan Wright <jonathan.wright@arm.com>2018-03-13 17:45:42 +0000
committerJonathan Wright <jonathan.wright@arm.com>2018-03-26 12:43:05 +0100
commit3eacacc0ef6a8beefd858ff36cbc35e2b9ff5b07 (patch)
tree54a91f0ed59a18ecb09c6ff153931f2dac58f7b7 /include
parent5aa7498abdddcfd4ac8a04d7726798d452f13bb2 (diff)
downloadplatform_external_arm-trusted-firmware-3eacacc0ef6a8beefd858ff36cbc35e2b9ff5b07.tar.gz
platform_external_arm-trusted-firmware-3eacacc0ef6a8beefd858ff36cbc35e2b9ff5b07.tar.bz2
platform_external_arm-trusted-firmware-3eacacc0ef6a8beefd858ff36cbc35e2b9ff5b07.zip
lib: fix switch statements to comply with MISRA rules
Ensure (where possible) that switch statements in lib comply with MISRA rules 16.1 - 16.7. Change-Id: I52bc896fb7094d2b7569285686ee89f39f1ddd84 Signed-off-by: Jonathan Wright <jonathan.wright@arm.com>
Diffstat (limited to 'include')
-rw-r--r--include/lib/pmf/pmf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/lib/pmf/pmf.h b/include/lib/pmf/pmf.h
index a3d32263d..2320760ea 100644
--- a/include/lib/pmf/pmf.h
+++ b/include/lib/pmf/pmf.h
@@ -37,8 +37,8 @@
/*
* Defines for PMF SMC function ids.
*/
-#define PMF_SMC_GET_TIMESTAMP_32 0x82000010
-#define PMF_SMC_GET_TIMESTAMP_64 0xC2000010
+#define PMF_SMC_GET_TIMESTAMP_32 0x82000010u
+#define PMF_SMC_GET_TIMESTAMP_64 0xC2000010u
#define PMF_NUM_SMC_CALLS 2
/*