[SCSI] scsi.c: convert to use the data buffer accessors
Boaz Harrosh [Wed, 4 Jul 2007 18:26:01 +0000 (21:26 +0300)]
 - 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>

drivers/scsi/scsi.c

index 64c8595..a691dda 100644 (file)
@@ -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);