Skip to content
Snippets Groups Projects
  • Fancy Fang's avatar
    MLK-21252 drm/bridge: sec-dsim: resolve OVERFLOW_BEFORE_WIDEN warns · 57a09670
    Fancy Fang authored
    
    Coverity reports the 'OVERFLOW_BEFORE_WIDEN' warns which can
    cause potential expression overflow for multiplying two 32bit
    integers and assign the result to a 64bit integer, since no
    automatic integer type promotion exists before the multiply
    operation, so requires explicit type casting for either one
    of operands.
    
    Signed-off-by: default avatarFancy Fang <chen.fang@nxp.com>
    (cherry picked from commit 9f10b3172107df0c31031e3fb02d32b6f26696f2)
    57a09670
Code owners
Assign users and groups as approvers for specific file changes. Learn more.