diff options
author | James Bottomley <James.Bottomley@steeleye.com> | 2006-08-06 19:15:22 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-08-06 19:19:19 -0400 |
commit | 19ac0db3e22de3b00cc4aadc7efbad0420c7aa08 (patch) | |
tree | b58b629192df8cf6ef5fd4a431c60efead0b1ff0 | |
parent | 4ff36718ede26ee2da73f2dae94d71e2b06845fc (diff) |
[SCSI] fix up short inquiry printing
A recent drivers base commit:
3e95637a48820ff8bedb33e6439def96ccff1de5
Caused the bus to be added to dev_printk, so now our SCSI inquiry short
messages print like this:
scsiscsi 2:0:0:0: Direct access IBM-ESXS ST973401SS B519 PQ: 0 ANSI: 5
Just remove the "scsi" from the sdev_printk to compensate.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-rw-r--r-- | drivers/scsi/scsi_scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c index 180399406510..114e2067dce5 100644 --- a/drivers/scsi/scsi_scan.c +++ b/drivers/scsi/scsi_scan.c | |||
@@ -659,7 +659,7 @@ static int scsi_add_lun(struct scsi_device *sdev, char *inq_result, int *bflags) | |||
659 | if (inq_result[7] & 0x10) | 659 | if (inq_result[7] & 0x10) |
660 | sdev->sdtr = 1; | 660 | sdev->sdtr = 1; |
661 | 661 | ||
662 | sdev_printk(KERN_NOTICE "scsi", sdev, "%s %.8s %.16s %.4s PQ: %d " | 662 | sdev_printk(KERN_NOTICE, sdev, "%s %.8s %.16s %.4s PQ: %d " |
663 | "ANSI: %d%s\n", scsi_device_type(sdev->type), | 663 | "ANSI: %d%s\n", scsi_device_type(sdev->type), |
664 | sdev->vendor, sdev->model, sdev->rev, | 664 | sdev->vendor, sdev->model, sdev->rev, |
665 | sdev->inq_periph_qual, inq_result[2] & 0x07, | 665 | sdev->inq_periph_qual, inq_result[2] & 0x07, |