Commit e1d5be56 authored by Jimmy Brisson's avatar Jimmy Brisson Committed by Sandrine Bailleux
Browse files

Specify signed-ness of constants



We relyed on the default signed-ness of constants, which is usually
signed. This can create MISRA violations, such as:

     bl1/bl1_main.c:257:[MISRA C-2012 10.8 (required)] Cast of composite
     expression off essential type signed to essential type unsigned

These constants were only used as unsigned, so this patch makes them
explicitly unsigned.

Change-Id: I5f1310c881e936077035fbb1d5ffb449b45de3ad
Signed-off-by: default avatarJimmy Brisson <jimmy.brisson@arm.com>
parent d74c6b83
...@@ -26,8 +26,8 @@ ...@@ -26,8 +26,8 @@
/* /*
* BL1 SMC version * BL1 SMC version
*/ */
#define BL1_SMC_MAJOR_VER 0x0 #define BL1_SMC_MAJOR_VER UL(0x0)
#define BL1_SMC_MINOR_VER 0x1 #define BL1_SMC_MINOR_VER UL(0x1)
/* /*
* Defines for FWU SMC function ids. * Defines for FWU SMC function ids.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment