From: Stephen M. Cameron Date: Tue, 1 May 2012 16:42:25 +0000 (-0500) Subject: [SCSI] hpsa: suppress excessively chatty error messages X-Git-Tag: upstream/snapshot3+hdmi~7466^2~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=21b8e4ef0357041854819d0f97bf1052ab4763e6;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [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: Stephen M. Cameron Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 8e6c4ab..5e8c7ca 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -1193,7 +1193,7 @@ static void complete_scsi_command(struct CommandList *cp) break; } /* 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: " "Sense: 0x%x, ASC: 0x%x, ASCQ: 0x%x, " "Returning result: 0x%x, "