On Fri, Feb 08, 2019 at 01:53:43PM -0800, Parvi Kaustubhi wrote: > Move the call to usnic_ib_device_remove after usnic_ib_ibdev_list_lock > has been released. > > Signed-off-by: Parvi Kaustubhi <pkaustub@xxxxxxxxx> > --- > Changelog: > > v2->v3: > * Jason: drivers should not hold any locks while calling ib_unregister_device() > * Jason: use https://github.com/jgunthorpe/linux/commits/device_locking_cleanup > > v1->v2: > * Have notifier blocks in usnic_ib_dev instead of using workqueue to defer > event handling. > --- > drivers/infiniband/hw/usnic/usnic_ib_main.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) Applied to for-next, thanks Jason