summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorArve Hjønnevåg <arve@android.com>2018-03-02 10:10:00 -0800
committerArve Hjønnevåg <arve@android.com>2018-03-02 10:10:00 -0800
commit2686f9fdc38b7b2033def9cc1e5f7ff5bfb5dc54 (patch)
tree07348f6562c73f268d54e9b55499ff1d6ba7f3bf /services
parentbe1b5d48fa7826d93a173ae9b48e2df9a2e7bca1 (diff)
trusty: Fix another reported misra violation
Change-Id: I822ccf5852dce4c01f98382cc393331f29e1e256
Diffstat (limited to 'services')
-rw-r--r--services/spd/trusty/trusty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/spd/trusty/trusty.c b/services/spd/trusty/trusty.c
index 6d9cc28a..d6e57267 100644
--- a/services/spd/trusty/trusty.c
+++ b/services/spd/trusty/trusty.c
@@ -412,7 +412,7 @@ static int32_t trusty_setup(void)
if (instr >> 24 == 0xeaU) {
INFO("trusty: Found 32 bit image\n");
aarch32 = true;
- } else if (instr >> 8 == 0xd53810 || instr >> 16 == 0x9400) {
+ } else if (instr >> 8 == 0xd53810U || instr >> 16 == 0x9400U) {
INFO("trusty: Found 64 bit image\n");
} else {
NOTICE("trusty: Found unknown image, 0x%x\n", instr);