diff options
author | Anthony Zhou <anzhou@nvidia.com> | 2017-02-24 14:44:21 +0800 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2017-06-14 17:01:27 -0700 |
commit | 5bd1a177dd8e93d05cb97d0b68c44f3d90f8dae6 (patch) | |
tree | 63dc9d68367e007a30ce45cfc2ebf763512b2b3b /lib/psci/psci_stat.c | |
parent | 31d97dc2d876d1948963e4f4e6ef3b549dc98e18 (diff) |
Tegra: fiq_glue: fix MISRA defects
Main fixes:
* 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]
* Convert object type to match the type of function parameters
[Rule 10.3]
* Added curly braces ({}) around if statements in order to
make them compound [Rule 15.6]
* Expressions resulting from the expansion of macro parameters
shall be enclosed in parentheses[Rule 20.7]
Change-Id: I5cf83caafcc1650b545ca731bf3eb8f0bfeb362b
Signed-off-by: Anthony Zhou <anzhou@nvidia.com>
Diffstat (limited to 'lib/psci/psci_stat.c')
0 files changed, 0 insertions, 0 deletions