diff options
author | Robert Love <robert.w.love@intel.com> | 2010-03-12 16:08:50 -0800 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-04-11 09:23:44 -0500 |
commit | b3ef990c1514859bffae221b9e82e46a38f1e7bf (patch) | |
tree | 0c1c7887fa668883d49856303c8ed51b2e09afd5 /include/scsi/libfc.h | |
parent | 5c12c418e905aac2826bb70f947648944c079ed9 (diff) |
[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>
Diffstat (limited to 'include/scsi/libfc.h')
0 files changed, 0 insertions, 0 deletions