RE: [PATCH for-next] RDMA/qedr: Make qedr_iw_load_qp() static

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

 



> From: linux-rdma-owner@xxxxxxxxxxxxxxx <linux-rdma-
> owner@xxxxxxxxxxxxxxx> 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@xxxxxxxxx>
> ---
>  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@xxxxxxxxxxx>






[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