]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Do not destroy link_wq when the device is shut down
authorKaike Wan <kaike.wan@intel.com>
Tue, 23 Jun 2020 20:40:53 +0000 (16:40 -0400)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 2 Jul 2020 16:54:50 +0000 (13:54 -0300)
commitf79c997f19f5140911e200f7e939ee1b241ad738
tree25762f3ca6a9b27cc0799606dd10992bc682b0ba
parent65c62de6138f39138405bfb08bee491f443df8b2
IB/hfi1: Do not destroy link_wq when the device is shut down

The workqueue link_wq should only be destroyed when the hfi1 driver is
unloaded, not when the device is shut down.

Fixes: 1c948018df0f ("IB/hfi1: Create workqueue for link events")
Link: https://lore.kernel.org/r/20200623204053.107638.70315.stgit@awfm-01.aw.intel.com
Cc: <stable@vger.kernel.org>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Kaike Wan <kaike.wan@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hfi1/init.c