[SCSI] sd: make printing use a common prefix
authorMartin K. Petersen <martin.petersen@oracle.com>
Wed, 28 Feb 2007 03:40:55 +0000 (22:40 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 11 Mar 2007 16:20:17 +0000 (11:20 -0500)
commite73aec8247032ee730b5f38edf48922c4f72522e
treed585067900bb676abbaa779402818c19d1d63d88
parenta4d04a4cd9881e89fdc62107b6b57053438f2b30
[SCSI] sd: make printing use a common prefix

Make SCSI disk printing more consistent:

 - Define sd_printk(), sd_print_sense_hdr() and sd_print_result()

 - Move relevant header bits into sd.h

 - Remove all the legacy disk_name passing and use scsi_disk pointers
   where possible

 - Switch printk() lines to the new sd_ functions so that output is
   consistent

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/sd.c
include/scsi/sd.h [new file with mode: 0644]