diff options
author | Anthony Zhou <anzhou@nvidia.com> | 2017-03-06 16:06:45 +0800 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2017-06-14 17:02:01 -0700 |
commit | ab712fd86b4790f171f355508895de198330cfb9 (patch) | |
tree | 7b1b2581087fa3f8d8ad207af378ab01d01782d9 /lib/psci/psci_stat.c | |
parent | 3436089d6725e74c836ae6c1f5367eeedc051f48 (diff) |
Tegra186: mce: 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]
* Force operands of an operator to the same type category [Rule 10.4]
* Added curly braces ({}) around if/while statements in order to
make them compound [Rule 15.6]
* Added parentheses [Rule 12.1]
* Voided non C-library functions whose return types are not used [Rule 17.7]
Change-Id: I91404edec2e2194b1ce2672d2a3fc6a1f5bf41f1
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