Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • 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
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • chendotjs
  • linux
  • Repository
  • linux
  • drivers
  • gpu
  • drm
  • amd
  • amdkfd
  • kfd_process.c
Find file BlameHistoryPermalink
  • Colin Ian King's avatar
    drm/amdkfd: fix a dereference of pdd before it is null checked · 2652bda7
    Colin Ian King authored May 28, 2020
    Currently pointer pdd is being dereferenced when assigning pointer
    dpm and then pdd is being null checked.  Fix this by checking if
    pdd is null before the dereference of pdd occurs.
    
    Addresses-Coverity: ("Dereference before null check")
    Fixes: 32cb59f3
    
     ("drm/amdkfd: Track SDMA utilization per process")
    Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
    Reviewed-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
    Signed-off-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    2652bda7