• Varun Wadekar's avatar
    Tegra: fix MISRA defects in tegra_bl31_setup.c · fcf23a14
    Varun Wadekar authored
    
    
    Main fixes:
    
    Add parentheses to avoid implicit operator precedence [Rule 12.1]
    
    Fixed if statement conditional to be essentially boolean [Rule 14.4]
    
    Added curly braces ({}) around if statements in order to
    make them compound [Rule 15.6]
    
    Voided non c-library functions whose return types are not used [Rule 17.7]
    
    Bug 200272157
    
    Change-Id: Ic3ab5a3de95aeb6d2265df940f7fb35ea0f19ab0
    Signed-off-by: default avatarAnthony Zhou <anzhou@nvidia.com>
    fcf23a14
tegra_private.h 3.79 KB