[SCSI] remove cmd->serial_number litter
[pandora-kernel.git] / drivers / message / i2o / i2o_scsi.c
index 97bdf82..74fbe56 100644 (file)
@@ -204,7 +204,7 @@ static int i2o_scsi_remove(struct device *dev)
  *     i2o_scsi_probe - verify if dev is a I2O SCSI device and install it
  *     @dev: device to verify if it is a I2O SCSI device
  *
- *     Retrieve channel, id and lun for I2O device. If everthing goes well
+ *     Retrieve channel, id and lun for I2O device. If everything goes well
  *     register the I2O device as SCSI device on the I2O SCSI controller.
  *
  *     Returns 0 on success or negative error code on failure.
@@ -361,7 +361,7 @@ static int i2o_scsi_reply(struct i2o_controller *c, u32 m,
         */
        error = le32_to_cpu(msg->body[0]);
 
-       osm_debug("Completed %ld\n", cmd->serial_number);
+       osm_debug("Completed %0x%p\n", cmd);
 
        cmd->result = error & 0xff;
        /*
@@ -678,7 +678,7 @@ static int i2o_scsi_queuecommand_lck(struct scsi_cmnd *SCpnt,
        /* Queue the message */
        i2o_msg_post(c, msg);
 
-       osm_debug("Issued %ld\n", SCpnt->serial_number);
+       osm_debug("Issued %0x%p\n", SCpnt);
 
        return 0;