Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • ..
  • freesync
  • freesync.c
Find file BlameHistoryPermalink
  • Alex Hung's avatar
    drm/amd/display: Fix possible overflow in integer multiplication · bbd0d1c9
    Alex Hung authored Jun 07, 2024
    
    
    [WHAT & HOW]
    Integer multiplies integer may overflow in context that expects an
    expression of unsigned/siged long long (64 bits). This can be fixed
    by casting integer to unsigned/siged long long to force 64 bits results.
    
    This fixes 26 OVERFLOW_BEFORE_WIDEN issues reported by Coverity.
    
    Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
    Signed-off-by: default avatarJerry Zuo <jerry.zuo@amd.com>
    Signed-off-by: default avatarAlex Hung <alex.hung@amd.com>
    Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    bbd0d1c9
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7