From: James Bottomley Date: Sun, 23 Sep 2007 14:08:46 +0000 (-0500) Subject: [SCSI] Fix device not ready printk X-Git-Tag: v2.6.24-rc1~1290^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=311b581e1d87be87f78e6e17fc50f468f2dec561;p=pandora-kernel.git [SCSI] Fix device not ready printk Because scsi_print_sense_hdr prefixes with KERN_INFO, the output from scsi_io_completion looks like: sd 0:0:0:0: [sdb] Device not ready: <6>: Sense Key : 0x2 [current] : ASC=0x4 ASCQ=0x3 By using scsi_show_sense_hdr, we can get the much more appealing output: sd 0:0:0:0: [sdb] Device not ready: Sense Key : 0x2 [current] sd 0:0:0:0: [sdb] Device not ready: ASC=0x4 ASCQ=0x3 Acked-by: Matthew Wilcox Signed-off-by: James Bottomley --- Reading git-diff-tree failed