linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Santosh Y <santoshsy@gmail.com>
To: Seungwon Jeon <tgih.jun@samsung.com>
Cc: linux-scsi <linux-scsi@vger.kernel.org>,
	James Bottomley <James.Bottomley@hansenpartnership.com>,
	Tejun Heo <tj@kernel.org>,
	Vinayak Holikatti <vinholikatti@gmail.com>
Subject: Re: [PATCH] scsi: ufs: replace the deprecated flush_work_sync
Date: Tue, 3 Sep 2013 09:41:00 -0700	[thread overview]
Message-ID: <CALMYJDuCkDcf1+OrVh4XL-=dSHc_u2R3Y6Ad_POTWXbnirdQjA@mail.gmail.com> (raw)
In-Reply-To: <005501cea87b$8cc5a550$a650eff0$%jun@samsung.com>

On Tue, Sep 3, 2013 at 12:59 AM, Seungwon Jeon <tgih.jun@samsung.com> 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@samsung.com>
> ---
>  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@gmail.com>

-- 
~Santosh

      reply	other threads:[~2013-09-03 16:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-26  4:28 [PATCH 3/3] arcmsr: Fix bug of updating adapter firmware through ioctl(ARCHTTP) interface 黃清隆
2013-08-26 10:20 ` James Bottomley
2013-08-26 14:19   ` [PATCH 1/2] scsi: fix warning with unused variable Seungwon Jeon
2013-08-26 14:20   ` [PATCH 2/2] scsi: replace the deprecated flush_work_sync Seungwon Jeon
2013-09-03  7:59   ` [PATCH] scsi: ufs: " Seungwon Jeon
2013-09-03 16:41     ` Santosh Y [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALMYJDuCkDcf1+OrVh4XL-=dSHc_u2R3Y6Ad_POTWXbnirdQjA@mail.gmail.com' \
    --to=santoshsy@gmail.com \
    --cc=James.Bottomley@hansenpartnership.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=tgih.jun@samsung.com \
    --cc=tj@kernel.org \
    --cc=vinholikatti@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).