diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_mbx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c index fe69f3057671..8fcd99eeec00 100644 --- a/drivers/scsi/qla2xxx/qla_mbx.c +++ b/drivers/scsi/qla2xxx/qla_mbx.c | |||
@@ -2746,7 +2746,8 @@ qla24xx_report_id_acquisition(scsi_qla_host_t *vha, | |||
2746 | if (rptid_entry->format == 0) { | 2746 | if (rptid_entry->format == 0) { |
2747 | DEBUG15(printk("%s:format 0 : scsi(%ld) number of VPs setup %d," | 2747 | DEBUG15(printk("%s:format 0 : scsi(%ld) number of VPs setup %d," |
2748 | " number of VPs acquired %d\n", __func__, vha->host_no, | 2748 | " number of VPs acquired %d\n", __func__, vha->host_no, |
2749 | MSB(rptid_entry->vp_count), LSB(rptid_entry->vp_count))); | 2749 | MSB(le16_to_cpu(rptid_entry->vp_count)), |
2750 | LSB(le16_to_cpu(rptid_entry->vp_count)))); | ||
2750 | DEBUG15(printk("%s primary port id %02x%02x%02x\n", __func__, | 2751 | DEBUG15(printk("%s primary port id %02x%02x%02x\n", __func__, |
2751 | rptid_entry->port_id[2], rptid_entry->port_id[1], | 2752 | rptid_entry->port_id[2], rptid_entry->port_id[1], |
2752 | rptid_entry->port_id[0])); | 2753 | rptid_entry->port_id[0])); |