aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi.c
diff options
context:
space:
mode:
authorBoaz Harrosh <bharrosh@panasas.com>2007-07-04 21:26:01 +0300
committerJames Bottomley <jejb@mulgrave.localdomain>2007-07-14 18:57:54 -0500
commita73e45b3da2be548c8f45cf887e4171a8f39a3c3 (patch)
tree68db2e6b1db88ba7555fb49afea8eeaa68121823 /drivers/scsi/scsi.c
parent0ab179bcf31fd54c7b34b4191ea8591267641e92 (diff)
[SCSI] scsi.c: convert to use the data buffer accessors
- a couple of prints, they can use the accessors Signed-off-by: Boaz Harrosh <bharrosh@panasas.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi.c')
-rw-r--r--drivers/scsi/scsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c
index 64c8595ee71..a691dda40d2 100644
--- a/drivers/scsi/scsi.c
+++ b/drivers/scsi/scsi.c
@@ -368,7 +368,7 @@ void scsi_log_send(struct scsi_cmnd *cmd)
if (level > 3) {
printk(KERN_INFO "buffer = 0x%p, bufflen = %d,"
" done = 0x%p, queuecommand 0x%p\n",
- cmd->request_buffer, cmd->request_bufflen,
+ scsi_sglist(cmd), scsi_bufflen(cmd),
cmd->done,
cmd->device->host->hostt->queuecommand);