[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180601034122.GA72995@lkp-sb05>
Date: Fri, 1 Jun 2018 11:41:22 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Yuval Bason <yuval.bason@...ium.com>
Cc: kbuild-all@...org, yuval.bason@...ium.com, davem@...emloft.net,
netdev@...r.kernel.org, jgg@...lanox.com, dledford@...hat.com,
linux-rdma@...r.kernel.org,
Michal Kalderon <michal.kalderon@...ium.com>,
Ariel Elior <ariel.elior@...ium.com>
Subject: [RFC PATCH] qed: qed_rdma_modify_srq() can be static
Fixes: 27c50d39911b ("qed: Add srq core support for RoCE and iWARP")
Signed-off-by: kbuild test robot <fengguang.wu@...el.com>
---
qed_rdma.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/net/ethernet/qlogic/qed/qed_rdma.c b/drivers/net/ethernet/qlogic/qed/qed_rdma.c
index bd23659..f118328 100644
--- a/drivers/net/ethernet/qlogic/qed/qed_rdma.c
+++ b/drivers/net/ethernet/qlogic/qed/qed_rdma.c
@@ -1652,8 +1652,8 @@ static void *qed_rdma_get_rdma_ctx(struct qed_dev *cdev)
return QED_LEADING_HWFN(cdev);
}
-int qed_rdma_modify_srq(void *rdma_cxt,
- struct qed_rdma_modify_srq_in_params *in_params)
+static int qed_rdma_modify_srq(void *rdma_cxt,
+ struct qed_rdma_modify_srq_in_params *in_params)
{
struct rdma_srq_modify_ramrod_data *p_ramrod;
struct qed_hwfn *p_hwfn = rdma_cxt;
@@ -1688,8 +1688,8 @@ int qed_rdma_modify_srq(void *rdma_cxt,
return rc;
}
-int qed_rdma_destroy_srq(void *rdma_cxt,
- struct qed_rdma_destroy_srq_in_params *in_params)
+static int qed_rdma_destroy_srq(void *rdma_cxt,
+ struct qed_rdma_destroy_srq_in_params *in_params)
{
struct rdma_srq_destroy_ramrod_data *p_ramrod;
struct qed_hwfn *p_hwfn = rdma_cxt;
@@ -1731,9 +1731,9 @@ int qed_rdma_destroy_srq(void *rdma_cxt,
return rc;
}
-int qed_rdma_create_srq(void *rdma_cxt,
- struct qed_rdma_create_srq_in_params *in_params,
- struct qed_rdma_create_srq_out_params *out_params)
+static int qed_rdma_create_srq(void *rdma_cxt,
+ struct qed_rdma_create_srq_in_params *in_params,
+ struct qed_rdma_create_srq_out_params *out_params)
{
struct rdma_srq_create_ramrod_data *p_ramrod;
struct qed_hwfn *p_hwfn = rdma_cxt;
Powered by blists - more mailing lists