igbvf: Refactor traces
Subsystems (2)
PATCH 1/1 igbvf: Refactor traces
Refactoring "PF still resetting" and changing "Failed
to add vlan id" to "Vlan id is not added"
messages because previous version looked like a bug
- it informed about changes that worked as designed but might confuse users
Signed-off-by Karen Sornek <[email protected]>
Reviewed-by Aleksandr Loktionov <[email protected]>
--- drivers/net/ethernet/intel/igbvf/netdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/intel/igbvf/netdev.c +2 -2
@@ -1230,7 +1230,7 @@ static int igbvf_vlan_rx_add_vid(struct net_device *netdev,spin_lock_bh (&hw->mbx_lock);if (hw->mac.ops.set_vfta (hw, vid, true)) { -dev_err (&adapter->pdev->dev,"Failed to add vlan id %d\n" , vid); +dev_warn (&adapter->pdev->dev,"Vlan id %d\n is not added" , vid);spin_unlock_bh (&hw->mbx_lock);return -EINVAL ; }
@@ -1514,7 +1514,7 @@ static void igbvf_reset(struct igbvf_adapter *adapter)/* Allow time for pending master requests to run */ if (mac->ops.reset_hw (hw)) -dev_err (&adapter->pdev->dev,"PF still resetting\n" ); +dev_warn (&adapter->pdev->dev,"PF still resetting\n" ); mac->ops.init_hw (hw);
Signature · 7 lines
2.18.1 --------------------------------------------------------------------- Intel Technology Poland sp. z o.o. ul. Sowackiego 173 | 80-298 Gdask | Sd Rejonowy Gdask Pnoc | VII Wydzia Gospodarczy Krajowego Rejestru Sdowego - KRS 101882 | NIP 957-07-52-316 | Kapita zakadowy 200.000 PLN. Ta wiadomo wraz z zacznikami jest przeznaczona dla okrelonego adresata i moe zawiera informacje poufne. W razie przypadkowego otrzymania tej wiadomoci, prosimy o powiadomienie nadawcy oraz trwae jej usunicie; jakiekolwiek przegldanie lub rozpowszechnianie jest zabronione. This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited.
Brown
PATCH 1/1 igbvf: Refactor traces
Quoted 13 lines
From: Intel-wired-lan <[email protected]> On Behalf Of Karen Sornek
Sent: Thursday, September 10, 2020 3:36 AM
To: intel-wired-lan at lists.osuosl.org
Cc: Sornek, Karen <[email protected]>
Subject: [Intel-wired-lan] [PATCH] igbvf: Refactor tracesRefactoring "PF still resetting" and changing "Failed
to add vlan id" to "Vlan id is not added"
messages because previous version looked like a bug
- it informed about changes that worked as designed but might confuse users
Quoted 6 lines
Signed-off-by Karen Sornek <[email protected]>Reviewed-by Aleksandr Loktionov <[email protected]>--- drivers/net/ethernet/intel/igbvf/netdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Tested-by Aaron Brown <[email protected]>