• Robert Love's avatar
    [SCSI] libfc: Fix misleading debug statement · cd305ce4
    Robert Love authored
    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: default avatarRobert Love <robert.w.love@intel.com>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
    cd305ce4
fc_exch.c 48.9 KB