[RFC PATCH] qed: qed_rdma_modify_srq() can be static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixes: 27c50d39911b ("qed: Add srq core support for RoCE and iWARP")
Signed-off-by: kbuild test robot <fengguang.wu@xxxxxxxxx>
---
 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;
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux