Skip to content

Commit 76a2014

Browse files
Terrence Adamsmartinkpetersen
authored andcommitted
scsi: pm8001: Update log level when reading config table
Reading the main config table occurs as a part of initialization in pm80xx_chip_init(). Because of this it makes more sense to have it be a part of the INIT logging. Signed-off-by: Terrence Adams <[email protected]> Link: https://lore.kernel.org/r/[email protected] Acked-by: Jack Wang <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent e4f949e commit 76a2014

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/scsi/pm8001/pm80xx_hwi.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -568,21 +568,21 @@ static void read_main_config_table(struct pm8001_hba_info *pm8001_ha)
568568
pm8001_ha->main_cfg_tbl.pm80xx_tbl.inc_fw_version =
569569
pm8001_mr32(address, MAIN_MPI_INACTIVE_FW_VERSION);
570570

571-
pm8001_dbg(pm8001_ha, DEV,
571+
pm8001_dbg(pm8001_ha, INIT,
572572
"Main cfg table: sign:%x interface rev:%x fw_rev:%x\n",
573573
pm8001_ha->main_cfg_tbl.pm80xx_tbl.signature,
574574
pm8001_ha->main_cfg_tbl.pm80xx_tbl.interface_rev,
575575
pm8001_ha->main_cfg_tbl.pm80xx_tbl.firmware_rev);
576576

577-
pm8001_dbg(pm8001_ha, DEV,
577+
pm8001_dbg(pm8001_ha, INIT,
578578
"table offset: gst:%x iq:%x oq:%x int vec:%x phy attr:%x\n",
579579
pm8001_ha->main_cfg_tbl.pm80xx_tbl.gst_offset,
580580
pm8001_ha->main_cfg_tbl.pm80xx_tbl.inbound_queue_offset,
581581
pm8001_ha->main_cfg_tbl.pm80xx_tbl.outbound_queue_offset,
582582
pm8001_ha->main_cfg_tbl.pm80xx_tbl.int_vec_table_offset,
583583
pm8001_ha->main_cfg_tbl.pm80xx_tbl.phy_attr_table_offset);
584584

585-
pm8001_dbg(pm8001_ha, DEV,
585+
pm8001_dbg(pm8001_ha, INIT,
586586
"Main cfg table; ila rev:%x Inactive fw rev:%x\n",
587587
pm8001_ha->main_cfg_tbl.pm80xx_tbl.ila_version,
588588
pm8001_ha->main_cfg_tbl.pm80xx_tbl.inc_fw_version);

0 commit comments

Comments
 (0)