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
You need to sign in or sign up before continuing.
  • linux
  • drivers
  • gpu
  • drm
  • amd
  • amdkfd
  • kfd_kernel_queue.c
Find file BlameHistoryPermalink
  • Oded Gabbay's avatar
    amdkfd: Set *buffer_ptr to NULL in case of error · a550bb3d
    Oded Gabbay authored Dec 04, 2014
    
    
    In function acquire_packet_buffer() we may return -ENOMEM. In that case, we
    should set the *buffer_ptr to NULL, so that calling functions which check the
    *buffer_ptr value as a criteria for success, will know that
    acquire_packet_buffer() failed.
    
    Reviewed-by: default avatarAlexey Skidanov <alexey.skidanov@amd.com>
    Signed-off-by: default avatarOded Gabbay <oded.gabbay@amd.com>
    a550bb3d
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7