fix(rmm): fix MISRA C 2012 violations
Fixes MISRA C 2012 Rules 10.4 violations.
Change-Id: Iba47a119e3641cfd6a28172fa03c8b5ddfe102be
Signed-off-by: Shruti Gupta <shruti.gupta@arm.com>
diff --git a/lib/realm/include/buffer.h b/lib/realm/include/buffer.h
index 3be166f..20ea2db 100644
--- a/lib/realm/include/buffer.h
+++ b/lib/realm/include/buffer.h
@@ -31,7 +31,7 @@
* If the max aux granules is 0, no slots will
* be reserved.
*/
- SLOT_RTT = SLOT_REC_AUX0 + MAX_REC_AUX_GRANULES,
+ SLOT_RTT = U(SLOT_REC_AUX0) + MAX_REC_AUX_GRANULES,
SLOT_RTT2, /* Some commands access two RTT granules at a time*/
SLOT_RSI_CALL,
NR_CPU_SLOTS