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>
1 parent 31d97dc commit 5bd1a177dd8e93d05cb97d0b68c44f3d90f8dae6
@Anthony Zhou Anthony Zhou authored on 24 Feb 2017
Varun Wadekar committed on 14 Jun 2017
Showing 1 changed file
View
plat/nvidia/tegra/common/tegra_fiq_glue.c