]> git.baikalelectronics.ru Git - arm-tf.git/commit
Specify signed-ness of constants
authorJimmy Brisson <jimmy.brisson@arm.com>
Wed, 5 Aug 2020 20:33:40 +0000 (15:33 -0500)
committerSandrine Bailleux <sandrine.bailleux@arm.com>
Fri, 14 Aug 2020 11:36:05 +0000 (11:36 +0000)
commite1d5be56ba0f159534f20137401676f6ea697828
tree997c8b387f5f2a51726a4369e6d24f5e7b7e7c00
parentd74c6b833616a9e3398352990af78098ea14cffa
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: Jimmy Brisson <jimmy.brisson@arm.com>
include/bl1/bl1.h