Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe-arm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe-arm
  • Repository

Switch branch/tag
  • ipipe-arm
  • drivers
  • infiniband
  • hw
  • qedr
  • verbs.c
Find file BlameHistoryPermalink
  • Christophe Jaillet's avatar
    RDMA/qedr: Fix some error handling · 4cd33aaf
    Christophe Jaillet authored Feb 18, 2017
    
    
    'qedr_alloc_pbl_tbl()' can not return NULL.
    
    In qedr_init_user_queue():
     - simplify the test for the return value, no need to test for NULL
     - propagate the error pointer if needed, otherwise 0 (success) is returned.
       This is spurious.
    
    In init_mr_info():
     - test the return value with IS_ERR
     - propagate the error pointer if needed instead of an exlictit -ENOMEM.
       This is a no-op as the only error pointer that we can have here is
       already -ENOMEM
    Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
    Acked-by: default avatarRam Amrani <Ram.Amrani@cavium.com>
    Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
    4cd33aaf

Replace verbs.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.

Imprint & Privacy Policy