• Anthony Zhou's avatar
    Tegra186: PM: fix MISRA defects in plat_psci_handlers.c · 214e8464
    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]
    
    Fix implicit widening of composite assignment [Rule 10.6]
    
    Change-Id: I5840a07f37beefc3326ac56d0b4a4701602bd8a8
    Signed-off-by: default avatarAnthony Zhou <anzhou@nvidia.com>
    214e8464
plat_psci_handlers.c 11.5 KB