Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 320036e0 authored by Vasu Dev's avatar Vasu Dev Committed by James Bottomley
Browse files

[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: default avatarVasu Dev <vasu.dev@intel.com>
Tested-by: default avatarRoss Brattain <ross.b.brattain@intel.com>
Signed-off-by: default avatarRobert Love <robert.w.love@intel.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent c9d24a76
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -1352,7 +1352,6 @@ static void fc_lport_timeout(struct work_struct *work)
		WARN_ON(1);
		WARN_ON(1);
		break;
		break;
	case LPORT_ST_READY:
	case LPORT_ST_READY:
		WARN_ON(1);
		break;
		break;
	case LPORT_ST_RESET:
	case LPORT_ST_RESET:
		break;
		break;