summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/atp870u.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-10-25 00:04:36 +0200
committerJames Bottomley <jejb@mulgrave.(none)>2005-10-29 04:04:15 +0200
commit017560fca496f72ed9dd734ffde63ce39dfe0411 (patch)
treee63ae9a28fc179e715eda32f12aaec4ca752651b /drivers/scsi/atp870u.c
parent[SCSI] use {sdev,scmd,starget,shost}_printk in generic code (diff)
downloadlinux-017560fca496f72ed9dd734ffde63ce39dfe0411.tar.xz
linux-017560fca496f72ed9dd734ffde63ce39dfe0411.zip
[SCSI] use sfoo_printk() in drivers
Rejections fixed up and Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/atp870u.c')
-rw-r--r--drivers/scsi/atp870u.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/scsi/atp870u.c b/drivers/scsi/atp870u.c
index a8cfbef304b5..b150bd8e254a 100644
--- a/drivers/scsi/atp870u.c
+++ b/drivers/scsi/atp870u.c
@@ -297,11 +297,10 @@ stop_dma:
}
workreq = dev->id[c][target_id].curr_req;
#ifdef ED_DBGP
- printk(KERN_DEBUG "Channel = %d ID = %d LUN = %d CDB",c,workreq->device->id,workreq->device->lun);
- for(l=0;l<workreq->cmd_len;l++)
- {
+ scmd_printk(KERN_DEBUG, workreq, "CDB");
+ for (l = 0; l < workreq->cmd_len; l++)
printk(KERN_DEBUG " %x",workreq->cmnd[l]);
- }
+ printk("\n");
#endif
tmport = workport + 0x0f;