Patch "net: phylink: Fix phylink_err() function name error in phylink_major_config" has been added to the 5.10-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    net: phylink: Fix phylink_err() function name error in phylink_major_config

to the 5.10-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     net-phylink-fix-phylink_err-function-name-error-in-p.patch
and it can be found in the queue-5.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 1d0ae50113d77753120dea1fae40c5a488317190
Author: Ong Boon Leong <boon.leong.ong@xxxxxxxxx>
Date:   Mon Mar 15 12:33:42 2021 +0800

    net: phylink: Fix phylink_err() function name error in phylink_major_config
    
    [ Upstream commit d82c6c1aaccd2877b6082cebcb1746a13648a16d ]
    
    if pl->mac_ops->mac_finish() failed, phylink_err should use
    "mac_finish" instead of "mac_prepare".
    
    Fixes: b7ad14c2fe2d4 ("net: phylink: re-implement interface configuration with PCS")
    Signed-off-by: Ong Boon Leong <boon.leong.ong@xxxxxxxxx>
    Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c
index fe2296fdda19..6072e87ed6c3 100644
--- a/drivers/net/phy/phylink.c
+++ b/drivers/net/phy/phylink.c
@@ -472,7 +472,7 @@ static void phylink_major_config(struct phylink *pl, bool restart,
 		err = pl->mac_ops->mac_finish(pl->config, pl->cur_link_an_mode,
 					      state->interface);
 		if (err < 0)
-			phylink_err(pl, "mac_prepare failed: %pe\n",
+			phylink_err(pl, "mac_finish failed: %pe\n",
 				    ERR_PTR(err));
 	}
 }



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux