diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-04-04 09:42:14 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-05-01 11:22:40 -0400 |
commit | 5cd049a59913f359e7d30c11d2dc6187822e77b1 (patch) | |
tree | f1406a16f6f0b786857e4433467d7ad762e45186 /drivers/scsi/dpt_i2o.c | |
parent | f04ca1b65480df9ecbaaa797e62b063387429410 (diff) |
[SCSI] remove cmd->serial_number litter
Stop using cmd->serial_number in printks.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/dpt_i2o.c')
-rw-r--r-- | drivers/scsi/dpt_i2o.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/dpt_i2o.c b/drivers/scsi/dpt_i2o.c index cffcb108ac96..b4f6c9a84e71 100644 --- a/drivers/scsi/dpt_i2o.c +++ b/drivers/scsi/dpt_i2o.c | |||
@@ -780,7 +780,7 @@ static int adpt_abort(struct scsi_cmnd * cmd) | |||
780 | return FAILED; | 780 | return FAILED; |
781 | } | 781 | } |
782 | pHba = (adpt_hba*) cmd->device->host->hostdata[0]; | 782 | pHba = (adpt_hba*) cmd->device->host->hostdata[0]; |
783 | printk(KERN_INFO"%s: Trying to Abort cmd=%ld\n",pHba->name, cmd->serial_number); | 783 | printk(KERN_INFO"%s: Trying to Abort\n",pHba->name); |
784 | if ((dptdevice = (void*) (cmd->device->hostdata)) == NULL) { | 784 | if ((dptdevice = (void*) (cmd->device->hostdata)) == NULL) { |
785 | printk(KERN_ERR "%s: Unable to abort: No device in cmnd\n",pHba->name); | 785 | printk(KERN_ERR "%s: Unable to abort: No device in cmnd\n",pHba->name); |
786 | return FAILED; | 786 | return FAILED; |
@@ -802,10 +802,10 @@ static int adpt_abort(struct scsi_cmnd * cmd) | |||
802 | printk(KERN_INFO"%s: Abort cmd not supported\n",pHba->name); | 802 | printk(KERN_INFO"%s: Abort cmd not supported\n",pHba->name); |
803 | return FAILED; | 803 | return FAILED; |
804 | } | 804 | } |
805 | printk(KERN_INFO"%s: Abort cmd=%ld failed.\n",pHba->name, cmd->serial_number); | 805 | printk(KERN_INFO"%s: Abort failed.\n",pHba->name); |
806 | return FAILED; | 806 | return FAILED; |
807 | } | 807 | } |
808 | printk(KERN_INFO"%s: Abort cmd=%ld complete.\n",pHba->name, cmd->serial_number); | 808 | printk(KERN_INFO"%s: Abort complete.\n",pHba->name); |
809 | return SUCCESS; | 809 | return SUCCESS; |
810 | } | 810 | } |
811 | 811 | ||