]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] libfc: Fix misleading debug statement
authorRobert Love <robert.w.love@intel.com>
Tue, 25 Aug 2009 20:58:37 +0000 (13:58 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 5 Sep 2009 14:47:32 +0000 (09:47 -0500)
commit144cd9a643f3caee095639755a8e069432570c05
tree00b863c35c20026da3836b8340156169bca0b259
parenta0fa6b964e0994f640c54dbd489c3263311d05cc
[SCSI] libfc: Fix misleading debug statement

The statement reads, "Exchange timed out, notifying the upper layer",
however, this statement is printed whenever the timer is armed. This
is confusing to someone debugging the code because every time an
exchange is initialized, there is an incorrect statement stating that
the timer has already timed out. This patch changes the statement to
read, "Exchange timer armed" which is more accurate.

This patch also adds a debug statement in the timeout handler to
properly indicate that the exchange has timed out.

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