From: Sebastian Herbszt <herbszt@gmx.de>
To: james.smart@emulex.com
Cc: linux-scsi@vger.kernel.org, Sebastian Herbszt <herbszt@gmx.de>
Subject: Re: [PATCH 01/21] lpfc: Fix the iteration count to match the 30 sec comment in the routine lpfc_pci_function_reset
Date: Sun, 5 Apr 2015 15:08:21 +0200 [thread overview]
Message-ID: <20150405150821.00000f98@localhost> (raw)
In-Reply-To: <1428095421.6933.29.camel@myfc17>
James Smart wrote:
> Fix the iteration count to match the 30 sec comment in the routine lpfc_pci_function_reset
>
> Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com>
> Signed-off-by: James Smart <james.smart@emulex.com>
> ---
> drivers/scsi/lpfc/lpfc_init.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
> index 0b2c53a..2b5b910 100644
> --- a/drivers/scsi/lpfc/lpfc_init.c
> +++ b/drivers/scsi/lpfc/lpfc_init.c
> @@ -7953,7 +7953,7 @@ wait:
> * up to 30 seconds. If the port doesn't respond, treat
> * it as an error.
> */
> - for (rdy_chk = 0; rdy_chk < 3000; rdy_chk++) {
> + for (rdy_chk = 0; rdy_chk < 1500; rdy_chk++) {
> if (lpfc_readl(phba->sli4_hba.u.if_type2.
> STATUSregaddr, ®_data.word0)) {
> rc = -ENODEV;
Reviewed-by: Sebastian Herbszt <herbszt@gmx.de>
next prev parent reply other threads:[~2015-04-05 13:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-03 21:10 [PATCH 01/21] lpfc: Fix the iteration count to match the 30 sec comment in the routine lpfc_pci_function_reset James Smart
2015-04-05 13:08 ` Sebastian Herbszt [this message]
2015-04-10 6:04 ` Hannes Reinecke
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=20150405150821.00000f98@localhost \
--to=herbszt@gmx.de \
--cc=james.smart@emulex.com \
--cc=linux-scsi@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.