• Anthony Zhou's avatar
    Tegra186: sip_calls: fix defects flagged by MISRA scan · 11c5b273
    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]
    
    Force operands of an operator to the same type category [Rule 10.4]
    
    Expressions resulting from the expansion of macro parameters
    shall be enclosed in parentheses[Rule 20.7]
    
    Change-Id: Ibdae1d18d299562ca2b96b2318b914601c9926b1
    Signed-off-by: default avatarAnthony Zhou <anzhou@nvidia.com>
    11c5b273
plat_sip_calls.c 4.96 KB