summaryrefslogtreecommitdiff
path: root/lib/psci/psci_setup.c
diff options
context:
space:
mode:
authorEleanor Bonnici <Eleanor.bonnici@arm.com>2017-08-09 10:36:08 +0100
committerJeenu Viswambharan <jeenu.viswambharan@arm.com>2017-08-29 13:52:48 +0100
commite4e6c4be6f415f4389aa9fee6f226ad0bf0e1637 (patch)
tree3634b0ffa88ef3ba10a9f390351450012b713e09 /lib/psci/psci_setup.c
parentafb33432dfacd6e50588a469e3c84b9c8a8e5fbf (diff)
CPU: Make shifted constants unsigned
In order to avoid Undefined behavior, left operand in left-shift expressions needs to be unsigned, and of sufficient size. The safest and most consistent approach is to use unsigned long long type. Change-Id: I9612f16a6e6ea4c7df62a02497d862abf19b8e1b Signed-off-by: Eleanor Bonnici <Eleanor.bonnici@arm.com>
Diffstat (limited to 'lib/psci/psci_setup.c')
0 files changed, 0 insertions, 0 deletions