[SCSI] libfc: Add debug statements when fc_fcp returns DID_ERROR to scsi-ml
authorRobert Love <robert.w.love@intel.com>
Sat, 13 Mar 2010 00:08:50 +0000 (16:08 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 14:23:44 +0000 (09:23 -0500)
commitb3ef990c1514859bffae221b9e82e46a38f1e7bf
tree0c1c7887fa668883d49856303c8ed51b2e09afd5
parent5c12c418e905aac2826bb70f947648944c079ed9
[SCSI] libfc: Add debug statements when fc_fcp returns DID_ERROR to scsi-ml

DID_ERROR cases can be ambigouos. Debugging FCP error cases
will be much easier if we have debug statements when we hit
these error conditions.

This patch simply adds debug messages using the FC_FCP_DBG
macro when we return DID_ERROR to SCSI. This way if a DID_ERROR
is reproducible turning on debug_logging will give a clue
to developers as to what the problem might be.

Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libfc/fc_fcp.c
This page took 0.028341 seconds and 5 git commands to generate.