mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
scsi: lpfc: Quieten some printks
On a big box the lpfc driver emits a few thousand "Set Affinity" lines to the console. Reduce the priority of these from KERN_ERR to KERN_INFO, and also fix a few printks that had no log level. Link: https://lore.kernel.org/r/20200713083908.1104927-1-anton@ozlabs.org Reviewed-by: James Smart <james.smart@broadcom.com> Signed-off-by: Anton Blanchard <anton@ozlabs.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
7ec772d0c3
commit
bc2736e98e
1 changed files with 4 additions and 4 deletions
|
@ -11113,7 +11113,7 @@ found_any:
|
|||
/* 1 to 1, the first LPFC_CPU_FIRST_IRQ cpus to a unique hdwq */
|
||||
cpup->hdwq = idx;
|
||||
idx++;
|
||||
lpfc_printf_log(phba, KERN_ERR, LOG_INIT,
|
||||
lpfc_printf_log(phba, KERN_INFO, LOG_INIT,
|
||||
"3333 Set Affinity: CPU %d (phys %d core %d): "
|
||||
"hdwq %d eq %d flg x%x\n",
|
||||
cpu, cpup->phys_id, cpup->core_id,
|
||||
|
@ -11191,7 +11191,7 @@ found_any:
|
|||
start_cpu = first_cpu;
|
||||
cpup->hdwq = new_cpup->hdwq;
|
||||
logit:
|
||||
lpfc_printf_log(phba, KERN_ERR, LOG_INIT,
|
||||
lpfc_printf_log(phba, KERN_INFO, LOG_INIT,
|
||||
"3335 Set Affinity: CPU %d (phys %d core %d): "
|
||||
"hdwq %d eq %d flg x%x\n",
|
||||
cpu, cpup->phys_id, cpup->core_id,
|
||||
|
@ -14088,8 +14088,8 @@ lpfc_init(void)
|
|||
{
|
||||
int error = 0;
|
||||
|
||||
printk(LPFC_MODULE_DESC "\n");
|
||||
printk(LPFC_COPYRIGHT "\n");
|
||||
pr_info(LPFC_MODULE_DESC "\n");
|
||||
pr_info(LPFC_COPYRIGHT "\n");
|
||||
|
||||
error = misc_register(&lpfc_mgmt_dev);
|
||||
if (error)
|
||||
|
|
Loading…
Add table
Reference in a new issue