]> err.no Git - linux-2.6/commitdiff
[SCSI] scsi.c: convert to use the data buffer accessors
authorBoaz Harrosh <bharrosh@panasas.com>
Wed, 4 Jul 2007 18:26:01 +0000 (21:26 +0300)
committerJames Bottomley <jejb@mulgrave.localdomain>
Sat, 14 Jul 2007 23:57:54 +0000 (18:57 -0500)
 - 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 64c8595ee712a6160eed9a137e871bd583e8699e..a691dda40d2c47603f7a78f2ebe3b4ca2366335b 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);