On Sat, 7 Apr 2018 11:30:18 -0700 James Smart <jsmart2...@gmail.com> wrote:
> After driver unloads lpfc_wq remains active. The destroy_workqueue > calls were not being made in driver unload. Additionally, SLI3 is > allocating lpfc_wq resources, but never uses it. > > Make the destroy_workqueue calls on driver unload. > Modify the SLI3 code path no longer allocate lpfc_wq resources. > > Signed-off-by: Dick Kennedy <dick.kenn...@broadcom.com> > Signed-off-by: James Smart <james.sm...@broadcom.com> > --- > drivers/scsi/lpfc/lpfc_init.c | 11 ++++++++--- > 1 file changed, 8 insertions(+), 3 deletions(-) > Reviewed-by: Hannes Reinecke <h...@suse.com> Cheers, Hannes