summaryrefslogtreecommitdiff
path: root/lib/psci/psci_stat.c
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2017-05-25 18:06:59 -0700
committerVarun Wadekar <vwadekar@nvidia.com>2017-06-14 17:01:39 -0700
commit9a8f05e47d00efa2f1eac07fe4373de464b5b11c (patch)
treefc78f4dd4e0e7c7ca8483d73c97bad6a8577dbe8 /lib/psci/psci_stat.c
parent5bd1a177dd8e93d05cb97d0b68c44f3d90f8dae6 (diff)
Tegra: gic: fix MISRA defects
Main fixes: * Use int32_t replace int, use uint32_t replace unsign int [Rule 4.6] * Added explicit casts (e.g. 0U) to integers in order for them to be compatible with whatever operation they're used in [Rule 10.1] * Force operands of an operator to the same type category [Rule 10.4] * Fixed assert/if statements conditions to be essentially boolean [Rule 14.4] * Added curly braces ({}) around if statements in order to make them compound [Rule 15.6] * Convert macros form headers to unsigned ints Change-Id: I8051cc16499cece2039c9751bd347645f40f0901 Signed-off-by: Anthony Zhou <anzhou@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'lib/psci/psci_stat.c')
0 files changed, 0 insertions, 0 deletions