diff options
author | Vasu Dev <vasu.dev@intel.com> | 2011-07-28 00:11:00 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-07-28 10:13:36 +0200 |
commit | 320036e083bb2a0f60820b51cb9f0bfa651ee62f (patch) | |
tree | 8e779b1d4ebd451bb261a037e4d7a3b642093b70 /drivers/scsi/libfc | |
parent | [SCSI] libfc: Remove the reference to FCP packet from scsi_cmnd in case of error (diff) | |
download | linux-320036e083bb2a0f60820b51cb9f0bfa651ee62f.tar.xz linux-320036e083bb2a0f60820b51cb9f0bfa651ee62f.zip |
[SCSI] libfc: fix warn on in lport retry
The lport retry timer hits warn on in case
it has become ready in response from fip
login from fcoe_ctlr_flogi_send(), this is
possible but safe code path, therefore
removing this warn on.
Jun 22 03:16:30 10.0.16.6 [488198.316517] host3: Assigned Port ID 180f02
Jun 22 03:16:32 10.0.16.6 [488200.091561] ------------[ cut here ]------------
Jun 22 03:16:32 10.0.16.6 [488200.091586] WARNING: at
drivers/scsi/libfc/fc_lport.c:1355 fc_lport_timeout+0xd9/0xe0 [libfc]()
Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/libfc')
-rw-r--r-- | drivers/scsi/libfc/fc_lport.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/libfc/fc_lport.c b/drivers/scsi/libfc/fc_lport.c index e008b1673507..e55ed9cf23fb 100644 --- a/drivers/scsi/libfc/fc_lport.c +++ b/drivers/scsi/libfc/fc_lport.c @@ -1352,7 +1352,6 @@ static void fc_lport_timeout(struct work_struct *work) WARN_ON(1); break; case LPORT_ST_READY: - WARN_ON(1); break; case LPORT_ST_RESET: break; |