diff options
author | Anthony Zhou <anzhou@nvidia.com> | 2017-03-13 16:47:58 +0800 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2017-06-14 17:01:15 -0700 |
commit | 31d97dc2d876d1948963e4f4e6ef3b549dc98e18 (patch) | |
tree | 98507b68da7102a474cedaa84f7999ac81a333ef /lib/psci/psci_setup.c | |
parent | f5f64e4dbc9077ffe1299ee9e19a440ed12ac755 (diff) |
Tegra: pmc: fix defects flagged during MISRA analysis
Main fixes:
* Fixed if/while statement conditional to be essentially boolean [Rule 14.4]
* Added curly braces ({}) around if/for/while statements in order to
make them compound [Rule 15.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]
Change-Id: Ic72b248aeede6cf18bf85051188ea7b8fd8ae829
Signed-off-by: Anthony Zhou <anzhou@nvidia.com>
Diffstat (limited to 'lib/psci/psci_setup.c')
0 files changed, 0 insertions, 0 deletions