Re: [PATCH rdma-next] RDMA/i40iw: Make sure to initialize ib_device_ops

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

 



On Tue, Dec 18, 2018 at 10:55:07PM +0200, Kamal Heib wrote:
> The initialization of the ib_device_ops was dropped by mistake when
> rebasing the ib_device_ops series, this patch fixes that.
> 
> Fixes: 15644f57cb66 ("RDMA/i40iw: Initialize ib_device_ops struct")
> Signed-off-by: Kamal Heib <kamalheib1@xxxxxxxxx>
>  drivers/infiniband/hw/i40iw/i40iw_verbs.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/infiniband/hw/i40iw/i40iw_verbs.c b/drivers/infiniband/hw/i40iw/i40iw_verbs.c
> index 9e42ac2db3ca..475f32cf447e 100644
> +++ b/drivers/infiniband/hw/i40iw/i40iw_verbs.c
> @@ -2816,6 +2816,7 @@ static struct i40iw_ib_device *i40iw_init_rdma_device(struct i40iw_device *iwdev
>  	iwibdev->ibdev.iwcm->destroy_listen = i40iw_destroy_listen;
>  	memcpy(iwibdev->ibdev.iwcm->ifname, netdev->name,
>  	       sizeof(iwibdev->ibdev.iwcm->ifname));
> +	ib_set_device_ops(&iwibdev->ibdev, &i40iw_dev_ops);

Shame this didn't get found a day earlier :(

Applied to for-next, thanks

Jason



[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