From 2686f9fdc38b7b2033def9cc1e5f7ff5bfb5dc54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arve=20Hj=C3=B8nnev=C3=A5g?= Date: Fri, 2 Mar 2018 10:10:00 -0800 Subject: trusty: Fix another reported misra violation Change-Id: I822ccf5852dce4c01f98382cc393331f29e1e256 --- services/spd/trusty/trusty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'services') 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); -- cgit v1.2.3