• Varun Wadekar's avatar
    Tegra: bpmp: fix multiple MISRA issues · 64aa08fb
    Varun Wadekar authored
    
    
    This patch fixes violations for the following MISRA rules
    
    * Rule 5.7  "A tag name shall be a unique identifier"
    * Rule 10.1 "Operands shall not be of an inappropriate essential type"
    * Rule 10.3 "The value of an expression shall not be assigned to an object
                 with a narrower essential type or of a different essential type
                 category"
    * Rule 10.4 "Both operands of an operator in which the usual arithmetic
                 conversions are performed shall have the same essential type
                 category"
    * Rule 20.7 "Expressions resulting from the expansion of macro parameters
                 shall be enclosed in parentheses"
    * Rule 21.1 "#define and #undef shall not be used on a reserved identifier
                 or reserved macro name"
    
    Change-Id: I83cbe659c2d72e76dd4759959870b57c58adafdf
    Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
    64aa08fb
intf.c 7.74 KB