OSDN Git Service

[SCSI] libfc: don't WARN_ON in lport_timeout for RESET state
authorJoe Eykholt <jeykholt@cisco.com>
Wed, 21 Oct 2009 23:27:22 +0000 (16:27 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:00:29 +0000 (12:00 -0600)
commit22655ac22289d7b7def8ef2d72eafe5024bd57fe
tree2d7803d454239dd2be31a3b39d101c2845e31b71
parent1b69bc062c2a4c8f3e15ac69f487afec3aa8d774
[SCSI] libfc: don't WARN_ON in lport_timeout for RESET state

It's possible and harmless to get FLOGI timeouts
while in RESET state.  Don't do a WARN_ON in that case.

Also, split out the other WARN_ONs in fc_lport_timeout, so
we can tell which one is hit by its line number.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libfc/fc_lport.c