* [PATCH for-next] RDMA/qedr: Make qedr_iw_load_qp() static
@ 2019-11-10 11:36 Kamal Heib
2019-11-10 12:38 ` Michal Kalderon
2019-11-14 15:56 ` Jason Gunthorpe
0 siblings, 2 replies; 3+ messages in thread
From: Kamal Heib @ 2019-11-10 11:36 UTC (permalink / raw)
To: linux-rdma; +Cc: Michal Kalderon, Doug Ledford, Jason Gunthorpe, Kamal Heib
The function qedr_iw_load_qp() is only used in qedr_iw_cm.c
Fixes: 82af6d19d8d9 ("RDMA/qedr: Fix synchronization methods and memory leaks in qedr")
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
---
drivers/infiniband/hw/qedr/qedr_iw_cm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/infiniband/hw/qedr/qedr_iw_cm.c b/drivers/infiniband/hw/qedr/qedr_iw_cm.c
index 5e9732990be5..a98002018f0c 100644
--- a/drivers/infiniband/hw/qedr/qedr_iw_cm.c
+++ b/drivers/infiniband/hw/qedr/qedr_iw_cm.c
@@ -506,7 +506,7 @@ qedr_addr6_resolve(struct qedr_dev *dev,
return rc;
}
-struct qedr_qp *qedr_iw_load_qp(struct qedr_dev *dev, u32 qpn)
+static struct qedr_qp *qedr_iw_load_qp(struct qedr_dev *dev, u32 qpn)
{
struct qedr_qp *qp;
--
2.21.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [PATCH for-next] RDMA/qedr: Make qedr_iw_load_qp() static
2019-11-10 11:36 [PATCH for-next] RDMA/qedr: Make qedr_iw_load_qp() static Kamal Heib
@ 2019-11-10 12:38 ` Michal Kalderon
2019-11-14 15:56 ` Jason Gunthorpe
1 sibling, 0 replies; 3+ messages in thread
From: Michal Kalderon @ 2019-11-10 12:38 UTC (permalink / raw)
To: Kamal Heib, linux-rdma; +Cc: Doug Ledford, Jason Gunthorpe
> From: linux-rdma-owner@vger.kernel.org <linux-rdma-
> owner@vger.kernel.org> On Behalf Of Kamal Heib
>
> The function qedr_iw_load_qp() is only used in qedr_iw_cm.c
>
> Fixes: 82af6d19d8d9 ("RDMA/qedr: Fix synchronization methods and
> memory leaks in qedr")
> Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
> ---
> drivers/infiniband/hw/qedr/qedr_iw_cm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/infiniband/hw/qedr/qedr_iw_cm.c
> b/drivers/infiniband/hw/qedr/qedr_iw_cm.c
> index 5e9732990be5..a98002018f0c 100644
> --- a/drivers/infiniband/hw/qedr/qedr_iw_cm.c
> +++ b/drivers/infiniband/hw/qedr/qedr_iw_cm.c
> @@ -506,7 +506,7 @@ qedr_addr6_resolve(struct qedr_dev *dev,
> return rc;
> }
>
> -struct qedr_qp *qedr_iw_load_qp(struct qedr_dev *dev, u32 qpn)
> +static struct qedr_qp *qedr_iw_load_qp(struct qedr_dev *dev, u32 qpn)
> {
> struct qedr_qp *qp;
>
> --
> 2.21.0
Thanks,
Acked-by: Michal Kalderon <michal.kalderon@marvell.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH for-next] RDMA/qedr: Make qedr_iw_load_qp() static
2019-11-10 11:36 [PATCH for-next] RDMA/qedr: Make qedr_iw_load_qp() static Kamal Heib
2019-11-10 12:38 ` Michal Kalderon
@ 2019-11-14 15:56 ` Jason Gunthorpe
1 sibling, 0 replies; 3+ messages in thread
From: Jason Gunthorpe @ 2019-11-14 15:56 UTC (permalink / raw)
To: Kamal Heib; +Cc: linux-rdma, Michal Kalderon, Doug Ledford
On Sun, Nov 10, 2019 at 01:36:45PM +0200, Kamal Heib wrote:
> The function qedr_iw_load_qp() is only used in qedr_iw_cm.c
>
> Fixes: 82af6d19d8d9 ("RDMA/qedr: Fix synchronization methods and memory leaks in qedr")
> Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
> Acked-by: Michal Kalderon <michal.kalderon@marvell.com>
> ---
> drivers/infiniband/hw/qedr/qedr_iw_cm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to for-next, thanks
Jason
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-11-14 15:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-10 11:36 [PATCH for-next] RDMA/qedr: Make qedr_iw_load_qp() static Kamal Heib
2019-11-10 12:38 ` Michal Kalderon
2019-11-14 15:56 ` Jason Gunthorpe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).