Re: [PATCH] scsi: ufs: Check workqueue exists before destroying it

From: Matthias Kaehlcke
Date: Thu Aug 09 2018 - 14:57:43 EST


On Tue, Aug 07, 2018 at 11:24:50PM -0700, Stephen Boyd wrote:
> Quoting Matthias Kaehlcke (2018-08-01 17:14:35)
> > In ufshcd_hba_exit() the clock gating workqueue is always destroyed
> > when clock gating is supported. However the workqueue pointer is NULL
> > when ufshcd_init() fails before the workqueue is created. Only destroy
> > the workqueue if it exists.
> >
> > Signed-off-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
>
> Any sort of Fixes: tag?

I could add one, though it seems this patch is superseded by
https://patchwork.kernel.org/patch/10559013/