mirror of https://gitee.com/openkylin/linux.git
i40e: change message to only appear when extra debug info is wanted
This patch changes an X722 informational message so that it only appears when extra messages are desired. Without this patch, on X722 devices, this message appears at load, potentially causing unnecessary alarm. Change-ID: I94f7aae15dc5b2723cc9728c630c72538a3e670e Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
e5d3220555
commit
23bb6dc364
|
@ -3579,7 +3579,7 @@ static irqreturn_t i40e_intr(int irq, void *data)
|
|||
(ena_mask & I40E_PFINT_ICR0_ENA_PE_CRITERR_MASK)) {
|
||||
ena_mask &= ~I40E_PFINT_ICR0_ENA_PE_CRITERR_MASK;
|
||||
icr0 &= ~I40E_PFINT_ICR0_ENA_PE_CRITERR_MASK;
|
||||
dev_info(&pf->pdev->dev, "cleared PE_CRITERR\n");
|
||||
dev_dbg(&pf->pdev->dev, "cleared PE_CRITERR\n");
|
||||
}
|
||||
|
||||
/* only q0 is used in MSI/Legacy mode, and none are used in MSIX */
|
||||
|
|
Loading…
Reference in New Issue