From: Carolyn Wyborny Date: Tue, 8 Nov 2016 21:05:12 +0000 (-0800) Subject: i40e: change message to only appear when extra debug info is wanted X-Git-Tag: v4.1.12-98.0.20170517_2143~42^2~100 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=65bb9383ef9cf97f6db80405f2eeb36e272bcede;p=users%2Fjedix%2Flinux-maple.git i40e: change message to only appear when extra debug info is wanted Orabug: 24568124 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 Tested-by: Andrew Bowers Signed-off-by: Jeff Kirsher (cherry picked from commit 23bb6dc3644a6705c989e326362c7ccf05807477) Signed-off-by: Brian Maly Signed-off-by: Dhaval Giani --- diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c index 7ccad1a28d79..ae2954b030f9 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_main.c +++ b/drivers/net/ethernet/intel/i40e/i40e_main.c @@ -3514,7 +3514,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 */