aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2009-06-12 11:02:03 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-06-12 11:02:03 -0400
commit82681a318f9f028ea64e61f24bbd9ac535531921 (patch)
tree529b6a5b4fd040fb54b7672b1a224ebd47445876 /drivers/scsi/lpfc
parent3860c97bd60a4525bb62eb90e3e7d2f02662ac59 (diff)
parent8ebf975608aaebd7feb33d77f07ba21a6380e086 (diff)
[SCSI] Merge branch 'linus'
Conflicts: drivers/message/fusion/mptsas.c fixed up conflict between req->data_len accessors and mptsas driver updates. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/lpfc')
-rw-r--r--drivers/scsi/lpfc/lpfc_scsi.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
index ccbde41c1539..e9fa6762044a 100644
--- a/drivers/scsi/lpfc/lpfc_scsi.c
+++ b/drivers/scsi/lpfc/lpfc_scsi.c
@@ -1659,10 +1659,10 @@ lpfc_parse_bg_err(struct lpfc_hba *phba, struct lpfc_scsi_buf *lpfc_cmd,
1659 uint32_t bgstat = bgf->bgstat; 1659 uint32_t bgstat = bgf->bgstat;
1660 uint64_t failing_sector = 0; 1660 uint64_t failing_sector = 0;
1661 1661
1662 printk(KERN_ERR "BG ERROR in cmd 0x%x lba 0x%llx blk cnt 0x%lx " 1662 printk(KERN_ERR "BG ERROR in cmd 0x%x lba 0x%llx blk cnt 0x%x "
1663 "bgstat=0x%x bghm=0x%x\n", 1663 "bgstat=0x%x bghm=0x%x\n",
1664 cmd->cmnd[0], (unsigned long long)scsi_get_lba(cmd), 1664 cmd->cmnd[0], (unsigned long long)scsi_get_lba(cmd),
1665 cmd->request->nr_sectors, bgstat, bghm); 1665 blk_rq_sectors(cmd->request), bgstat, bghm);
1666 1666
1667 spin_lock(&_dump_buf_lock); 1667 spin_lock(&_dump_buf_lock);
1668 if (!_dump_buf_done) { 1668 if (!_dump_buf_done) {
@@ -3024,15 +3024,15 @@ lpfc_queuecommand(struct scsi_cmnd *cmnd, void (*done) (struct scsi_cmnd *))
3024 if (cmnd->cmnd[0] == READ_10) 3024 if (cmnd->cmnd[0] == READ_10)
3025 lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG, 3025 lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG,
3026 "9035 BLKGRD: READ @ sector %llu, " 3026 "9035 BLKGRD: READ @ sector %llu, "
3027 "count %lu\n", 3027 "count %u\n",
3028 (unsigned long long)scsi_get_lba(cmnd), 3028 (unsigned long long)scsi_get_lba(cmnd),
3029 cmnd->request->nr_sectors); 3029 blk_rq_sectors(cmnd->request));
3030 else if (cmnd->cmnd[0] == WRITE_10) 3030 else if (cmnd->cmnd[0] == WRITE_10)
3031 lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG, 3031 lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG,
3032 "9036 BLKGRD: WRITE @ sector %llu, " 3032 "9036 BLKGRD: WRITE @ sector %llu, "
3033 "count %lu cmd=%p\n", 3033 "count %u cmd=%p\n",
3034 (unsigned long long)scsi_get_lba(cmnd), 3034 (unsigned long long)scsi_get_lba(cmnd),
3035 cmnd->request->nr_sectors, 3035 blk_rq_sectors(cmnd->request),
3036 cmnd); 3036 cmnd);
3037 3037
3038 err = lpfc_bg_scsi_prep_dma_buf(phba, lpfc_cmd); 3038 err = lpfc_bg_scsi_prep_dma_buf(phba, lpfc_cmd);
@@ -3052,15 +3052,15 @@ lpfc_queuecommand(struct scsi_cmnd *cmnd, void (*done) (struct scsi_cmnd *))
3052 if (cmnd->cmnd[0] == READ_10) 3052 if (cmnd->cmnd[0] == READ_10)
3053 lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG, 3053 lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG,
3054 "9040 dbg: READ @ sector %llu, " 3054 "9040 dbg: READ @ sector %llu, "
3055 "count %lu\n", 3055 "count %u\n",
3056 (unsigned long long)scsi_get_lba(cmnd), 3056 (unsigned long long)scsi_get_lba(cmnd),
3057 cmnd->request->nr_sectors); 3057 blk_rq_sectors(cmnd->request));
3058 else if (cmnd->cmnd[0] == WRITE_10) 3058 else if (cmnd->cmnd[0] == WRITE_10)
3059 lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG, 3059 lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG,
3060 "9041 dbg: WRITE @ sector %llu, " 3060 "9041 dbg: WRITE @ sector %llu, "
3061 "count %lu cmd=%p\n", 3061 "count %u cmd=%p\n",
3062 (unsigned long long)scsi_get_lba(cmnd), 3062 (unsigned long long)scsi_get_lba(cmnd),
3063 cmnd->request->nr_sectors, cmnd); 3063 blk_rq_sectors(cmnd->request), cmnd);
3064 else 3064 else
3065 lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG, 3065 lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG,
3066 "9042 dbg: parser not implemented\n"); 3066 "9042 dbg: parser not implemented\n");