summaryrefslogtreecommitdiff
path: root/drivers/scsi/lpfc/lpfc_scsi.c
diff options
context:
space:
mode:
authorJames Smart <James.Smart@Emulex.Com>2008-12-16 18:34:09 +0300
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-12-29 20:24:34 +0300
commit87b5c328c7e32ab9075086f990001bffb7b19550 (patch)
treeef64e2ec14880dd17b41f1d1d79f36f7aa81be57 /drivers/scsi/lpfc/lpfc_scsi.c
parent302378534c8d4403f9a9b2a20f875b6866a27e42 (diff)
downloadlinux-87b5c328c7e32ab9075086f990001bffb7b19550.tar.xz
[SCSI] lpfc : correct printk types on PPC compiles
Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_scsi.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_scsi.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
index 83a8e7eed628..b103b6ed4970 100644
--- a/drivers/scsi/lpfc/lpfc_scsi.c
+++ b/drivers/scsi/lpfc/lpfc_scsi.c
@@ -1315,7 +1315,7 @@ lpfc_parse_bg_err(struct lpfc_hba *phba, struct lpfc_scsi_buf *lpfc_cmd,
printk(KERN_ERR "BG ERROR in cmd 0x%x lba 0x%llx blk cnt 0x%lx "
"bgstat=0x%x bghm=0x%x\n",
- cmd->cmnd[0], (u64)scsi_get_lba(cmd),
+ cmd->cmnd[0], (unsigned long long)scsi_get_lba(cmd),
cmd->request->nr_sectors, bgstat, bghm);
spin_lock(&_dump_buf_lock);
@@ -2376,13 +2376,13 @@ lpfc_queuecommand(struct scsi_cmnd *cmnd, void (*done) (struct scsi_cmnd *))
lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG,
"9035 BLKGRD: READ @ sector %llu, "
"count %lu\n",
- (u64)scsi_get_lba(cmnd),
+ (unsigned long long)scsi_get_lba(cmnd),
cmnd->request->nr_sectors);
else if (cmnd->cmnd[0] == WRITE_10)
lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG,
"9036 BLKGRD: WRITE @ sector %llu, "
"count %lu cmd=%p\n",
- (u64)scsi_get_lba(cmnd),
+ (unsigned long long)scsi_get_lba(cmnd),
cmnd->request->nr_sectors,
cmnd);
@@ -2403,13 +2403,14 @@ lpfc_queuecommand(struct scsi_cmnd *cmnd, void (*done) (struct scsi_cmnd *))
if (cmnd->cmnd[0] == READ_10)
lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG,
"9040 dbg: READ @ sector %llu, "
- "count %lu\n", (u64)scsi_get_lba(cmnd),
+ "count %lu\n",
+ (unsigned long long)scsi_get_lba(cmnd),
cmnd->request->nr_sectors);
else if (cmnd->cmnd[0] == WRITE_10)
lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG,
"9041 dbg: WRITE @ sector %llu, "
"count %lu cmd=%p\n",
- (u64)scsi_get_lba(cmnd),
+ (unsigned long long)scsi_get_lba(cmnd),
cmnd->request->nr_sectors, cmnd);
else
lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG,