diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_scsi.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_scsi.c | 11 |
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, | |||
1315 | 1315 | ||
1316 | printk(KERN_ERR "BG ERROR in cmd 0x%x lba 0x%llx blk cnt 0x%lx " | 1316 | printk(KERN_ERR "BG ERROR in cmd 0x%x lba 0x%llx blk cnt 0x%lx " |
1317 | "bgstat=0x%x bghm=0x%x\n", | 1317 | "bgstat=0x%x bghm=0x%x\n", |
1318 | cmd->cmnd[0], (u64)scsi_get_lba(cmd), | 1318 | cmd->cmnd[0], (unsigned long long)scsi_get_lba(cmd), |
1319 | cmd->request->nr_sectors, bgstat, bghm); | 1319 | cmd->request->nr_sectors, bgstat, bghm); |
1320 | 1320 | ||
1321 | spin_lock(&_dump_buf_lock); | 1321 | spin_lock(&_dump_buf_lock); |
@@ -2376,13 +2376,13 @@ lpfc_queuecommand(struct scsi_cmnd *cmnd, void (*done) (struct scsi_cmnd *)) | |||
2376 | lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG, | 2376 | lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG, |
2377 | "9035 BLKGRD: READ @ sector %llu, " | 2377 | "9035 BLKGRD: READ @ sector %llu, " |
2378 | "count %lu\n", | 2378 | "count %lu\n", |
2379 | (u64)scsi_get_lba(cmnd), | 2379 | (unsigned long long)scsi_get_lba(cmnd), |
2380 | cmnd->request->nr_sectors); | 2380 | cmnd->request->nr_sectors); |
2381 | else if (cmnd->cmnd[0] == WRITE_10) | 2381 | else if (cmnd->cmnd[0] == WRITE_10) |
2382 | lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG, | 2382 | lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG, |
2383 | "9036 BLKGRD: WRITE @ sector %llu, " | 2383 | "9036 BLKGRD: WRITE @ sector %llu, " |
2384 | "count %lu cmd=%p\n", | 2384 | "count %lu cmd=%p\n", |
2385 | (u64)scsi_get_lba(cmnd), | 2385 | (unsigned long long)scsi_get_lba(cmnd), |
2386 | cmnd->request->nr_sectors, | 2386 | cmnd->request->nr_sectors, |
2387 | cmnd); | 2387 | cmnd); |
2388 | 2388 | ||
@@ -2403,13 +2403,14 @@ lpfc_queuecommand(struct scsi_cmnd *cmnd, void (*done) (struct scsi_cmnd *)) | |||
2403 | if (cmnd->cmnd[0] == READ_10) | 2403 | if (cmnd->cmnd[0] == READ_10) |
2404 | lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG, | 2404 | lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG, |
2405 | "9040 dbg: READ @ sector %llu, " | 2405 | "9040 dbg: READ @ sector %llu, " |
2406 | "count %lu\n", (u64)scsi_get_lba(cmnd), | 2406 | "count %lu\n", |
2407 | (unsigned long long)scsi_get_lba(cmnd), | ||
2407 | cmnd->request->nr_sectors); | 2408 | cmnd->request->nr_sectors); |
2408 | else if (cmnd->cmnd[0] == WRITE_10) | 2409 | else if (cmnd->cmnd[0] == WRITE_10) |
2409 | lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG, | 2410 | lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG, |
2410 | "9041 dbg: WRITE @ sector %llu, " | 2411 | "9041 dbg: WRITE @ sector %llu, " |
2411 | "count %lu cmd=%p\n", | 2412 | "count %lu cmd=%p\n", |
2412 | (u64)scsi_get_lba(cmnd), | 2413 | (unsigned long long)scsi_get_lba(cmnd), |
2413 | cmnd->request->nr_sectors, cmnd); | 2414 | cmnd->request->nr_sectors, cmnd); |
2414 | else | 2415 | else |
2415 | lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG, | 2416 | lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG, |