Searched hist:"5 bd1a177dd8e93d05cb97d0b68c44f3d90f8dae6" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/plat/nvidia/tegra/common/ |
| H A D | tegra_fiq_glue.c | 5bd1a177dd8e93d05cb97d0b68c44f3d90f8dae6 Fri Feb 24 06:44:21 UTC 2017 Anthony Zhou <anzhou@nvidia.com> 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>
|