[Intel-wired-lan] [PATCH S54 14/14] ice: Fix trivial error message

Tony Nguyen anthony.l.nguyen at intel.com
Sat Nov 21 00:39:38 UTC 2020


From: Mitch Williams <mitch.a.williams at intel.com>

This message indicates an error on close, not open.

Fixes: e94d44786693 ("ice: Implement filter sync, NDO operations and bump version")
Signed-off-by: Mitch Williams <mitch.a.williams at intel.com>
---
 drivers/net/ethernet/intel/ice/ice_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/intel/ice/ice_main.c b/drivers/net/ethernet/intel/ice/ice_main.c
index 617e5c5f42cb..3bb3ed064b51 100644
--- a/drivers/net/ethernet/intel/ice/ice_main.c
+++ b/drivers/net/ethernet/intel/ice/ice_main.c
@@ -6243,7 +6243,7 @@ static int ice_change_mtu(struct net_device *netdev, int new_mtu)
 
 		err = ice_down(vsi);
 		if (err) {
-			netdev_err(netdev, "change MTU if_up err %d\n", err);
+			netdev_err(netdev, "change MTU if_down err %d\n", err);
 			return err;
 		}
 
-- 
2.20.1



More information about the Intel-wired-lan mailing list