Commit 21b8e4ef authored by Stephen M. Cameron's avatar Stephen M. Cameron Committed by James Bottomley

[SCSI] hpsa: suppress excessively chatty error messages

Default behavior for any CHECK CONDITION excepting a few special cases is to
print out certain parts of the sense buffer and the CDB.  Default behavior
should be to print nothing and let the upper layers or applications decide what
to do about these.  The same information is already available by setting the
appropriate bits of the scsi_logging_level kernel parameter or via
/proc/sys/dev/scsi/logging_level.
Signed-off-by: default avatarStephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 5cb460a6
...@@ -1193,7 +1193,7 @@ static void complete_scsi_command(struct CommandList *cp) ...@@ -1193,7 +1193,7 @@ static void complete_scsi_command(struct CommandList *cp)
break; break;
} }
/* Must be some other type of check condition */ /* Must be some other type of check condition */
dev_warn(&h->pdev->dev, "cp %p has check condition: " dev_dbg(&h->pdev->dev, "cp %p has check condition: "
"unknown type: " "unknown type: "
"Sense: 0x%x, ASC: 0x%x, ASCQ: 0x%x, " "Sense: 0x%x, ASC: 0x%x, ASCQ: 0x%x, "
"Returning result: 0x%x, " "Returning result: 0x%x, "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment