summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/atp870u.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-10-24 18:04:36 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-10-28 21:04:15 -0500
commit017560fca496f72ed9dd734ffde63ce39dfe0411 (patch)
treee63ae9a28fc179e715eda32f12aaec4ca752651b /drivers/scsi/atp870u.c
parent3bf743e7c891d8be8295650b7a6a9b5af083b096 (diff)
downloadop-kernel-dev-017560fca496f72ed9dd734ffde63ce39dfe0411.zip
op-kernel-dev-017560fca496f72ed9dd734ffde63ce39dfe0411.tar.gz
[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 a8cfbef..b150bd8 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;
OpenPOWER on IntegriCloud