From patchwork Mon Jul 30 18:56:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Heib X-Patchwork-Id: 10549587 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7735B1822 for ; Mon, 30 Jul 2018 18:57:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 67C792842A for ; Mon, 30 Jul 2018 18:57:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5BD82286EC; Mon, 30 Jul 2018 18:57:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0AC852842A for ; Mon, 30 Jul 2018 18:57:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731146AbeG3Uda (ORCPT ); Mon, 30 Jul 2018 16:33:30 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:33486 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730400AbeG3Uda (ORCPT ); Mon, 30 Jul 2018 16:33:30 -0400 Received: by mail-wr1-f68.google.com with SMTP id g6-v6so14012041wrp.0 for ; Mon, 30 Jul 2018 11:57:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=dHcumkQfy3sPDAAzEwAYhLIDUqPl95rJOei0R0ji+ig=; b=OKwcyC8E5K5zHkDQ4yMHqn/EC1v9gMOZ6vAH67hUNvVQtz3LCIlCwBz89Nx8MlKGrm iPWSCQoas6C5mhZuYouy8rLyQPqCG58Moy5iiD4CYmXg9z52jKKzsyQj6YzU2tM34e1J /KoQn3OxhzadCgmiWFfz1wNJ+6UIMIS69FJQgvf0Q6V/c0lYeR2nXeEDvZgcgq18Ar+I t80fFsqopKza5VJ32ohfIpeint7MHFHGThyuyl7eNavTwC5wt7Jh+ORtRnklvenEtDfm 7ZrI5Nh2MjYdDb6tGKEnBT94jO1iblr42WdeWD8D2SIhKWthWC61S/b1WHUSfOtA2IHM oPcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=dHcumkQfy3sPDAAzEwAYhLIDUqPl95rJOei0R0ji+ig=; b=ASN8JC5uY8a+1xRK376pyVS3xurxqWyJeVhQWaMwnt9hMjt+aGvUV/QUNvaLMfVFLO GL0vA/K1Z8DpQZ9HMoi2FCTwpkjnQrlJUzpzeHotr7Re/x+wFqnArDMX7wW7Yj8HpuIq aK1wsevV9L0RZXKvhx4jMrTz3ZVQvpmTzmcuaod7gxrf5Gxig8MGKopUgD68WKBrLbvW GB9VByBeBYvft7Y9q1xlukOAE89PUMvsqZRcplbDSbndQZ7UAaLPqr3uSgbg+wPx7lm7 782sVwQEnrqDEQB+E6bOH2znp61AlHQtbiqepf6vlEoEt3hbxI1UYREDtXiBjWQTFTkT MzIA== X-Gm-Message-State: AOUpUlGEYmFiPoGH5yJUfb5DavrQYc+aK+p9jJpphAPIs1y+YsffmNtf hG27+NkvTd9++5osUpK+B9k= X-Google-Smtp-Source: AAOMgpezMt3D5R7V+lWg8j1KIm24JJszt3MjbkNhiyULF8EEC3cf1bfE8mfPow6nSWQGx7/TmVDm7g== X-Received: by 2002:adf:ab14:: with SMTP id q20-v6mr18334388wrc.239.1532977028507; Mon, 30 Jul 2018 11:57:08 -0700 (PDT) Received: from localhost.localdomain ([2.53.153.184]) by smtp.gmail.com with ESMTPSA id z14-v6sm343295wma.18.2018.07.30.11.57.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Jul 2018 11:57:08 -0700 (PDT) From: Kamal Heib To: Doug Ledford , Jason Gunthorpe Cc: linux-rdma@vger.kernel.org, Kamal Heib Subject: [PATCH rdma-next 0/2] RDMA: Fix create_srq return value Date: Mon, 30 Jul 2018 21:56:42 +0300 Message-Id: <20180730185644.14702-1-kamalheib1@gmail.com> X-Mailer: git-send-email 2.14.4 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch set fixes the return code of create_srq() from the providers and fixes the check of the return value of ib_create_srq() within the ipoib code. Thanks, Kamal Heib (2): RDMA/providers: Fix return value from create_srq callbacks RDMA/ipoib: Fix check for return code from ib_create_srq drivers/infiniband/hw/bnxt_re/ib_verbs.c | 2 +- drivers/infiniband/hw/mthca/mthca_provider.c | 2 +- drivers/infiniband/sw/rdmavt/srq.c | 2 +- drivers/infiniband/ulp/ipoib/ipoib_cm.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)