• Anthony Zhou's avatar
    Tegra: fiq_glue: fix MISRA defects · 5bd1a177
    Anthony Zhou authored
    
    
    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: default avatarAnthony Zhou <anzhou@nvidia.com>
    5bd1a177
tegra_fiq_glue.c 4.16 KB