Re: [PATCH] scsi: ufs: replace the deprecated flush_work_sync

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

 



On Tue, Sep 3, 2013 at 12:59 AM, Seungwon Jeon <tgih.jun@xxxxxxxxxxx> wrote:
> flush_work_sync is replaced by flush_work with commit
> 4382973(workqueue: deprecate flush[_delayed]_work_sync()).
>
> Signed-off-by: Seungwon Jeon <tgih.jun@xxxxxxxxxxx>
> ---
>  drivers/scsi/ufs/ufshcd.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c
> index a0f5ac2..1b99c0a 100644
> --- a/drivers/scsi/ufs/ufshcd.c
> +++ b/drivers/scsi/ufs/ufshcd.c
> @@ -2737,7 +2737,7 @@ static int ufshcd_eh_host_reset_handler(struct scsi_cmnd *cmd)
>                         break;
>                 spin_unlock_irqrestore(hba->host->host_lock, flags);
>                 dev_dbg(hba->dev, "%s: reset in progress\n", __func__);
> -               flush_work_sync(&hba->eh_work);
> +               flush_work(&hba->eh_work);
>         } while (1);
>
>         hba->ufshcd_state = UFSHCD_STATE_RESET;
> --
> 1.7.0.4
>
>

Acked-by: Santosh Y <santoshsy@xxxxxxxxx>

-- 
~Santosh
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux