From patchwork Thu Oct 13 19:56:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 9375673 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9ABB9607FD for ; Thu, 13 Oct 2016 19:57:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 91ACD2A1A7 for ; Thu, 13 Oct 2016 19:57:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 86B0C2A1A9; Thu, 13 Oct 2016 19:57:22 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI 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 2B83F2A1A7 for ; Thu, 13 Oct 2016 19:57:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754424AbcJMT5U (ORCPT ); Thu, 13 Oct 2016 15:57:20 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:40259 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754899AbcJMT5L (ORCPT ); Thu, 13 Oct 2016 15:57:11 -0400 Received: from [83.175.99.196] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.85_2 #1 (Red Hat Linux)) id 1bum7S-0000xV-3f for linux-rdma@vger.kernel.org; Thu, 13 Oct 2016 19:56:46 +0000 From: Christoph Hellwig To: linux-rdma@vger.kernel.org Subject: [PATCH 09/17] rxe: mark symbols static where possible Date: Thu, 13 Oct 2016 21:56:08 +0200 Message-Id: <1476388576-22863-10-git-send-email-hch@lst.de> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1476388576-22863-1-git-send-email-hch@lst.de> References: <1476388576-22863-1-git-send-email-hch@lst.de> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html 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 Signed-off-by: Christoph Hellwig --- providers/rxe/rxe.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/providers/rxe/rxe.c b/providers/rxe/rxe.c index 8f8cc91..5aa77ea 100644 --- a/providers/rxe/rxe.c +++ b/providers/rxe/rxe.c @@ -305,7 +305,7 @@ static struct ibv_srq *rxe_create_srq(struct ibv_pd *pd, return &srq->ibv_srq; } -int rxe_modify_srq(struct ibv_srq *ibsrq, +static int rxe_modify_srq(struct ibv_srq *ibsrq, struct ibv_srq_attr *attr, int attr_mask) { struct rxe_srq *srq = to_rsrq(ibsrq); @@ -553,7 +553,7 @@ static int validate_send_wr(struct rxe_wq *sq, struct ibv_send_wr *ibwr, return 0; } -void convert_send_wr(struct rxe_send_wr *kwr, struct ibv_send_wr *uwr) +static void convert_send_wr(struct rxe_send_wr *kwr, struct ibv_send_wr *uwr) { memset(kwr, 0, sizeof(*kwr)); @@ -593,7 +593,7 @@ void convert_send_wr(struct rxe_send_wr *kwr, struct ibv_send_wr *uwr) } } -int init_send_wqe(struct rxe_qp *qp, struct rxe_wq *sq, +static int init_send_wqe(struct rxe_qp *qp, struct rxe_wq *sq, struct ibv_send_wr *ibwr, unsigned int length, struct rxe_send_wqe *wqe) { @@ -668,7 +668,7 @@ static int post_one_send(struct rxe_qp *qp, struct rxe_wq *sq, } /* send a null post send as a doorbell */ -int post_send_db(struct ibv_qp *ibqp) +static int post_send_db(struct ibv_qp *ibqp) { struct ibv_post_send cmd; struct ibv_post_send_resp resp;