[openwrt/openwrt] realtek: fix typo in debug message

LEDE Commits lede-commits at lists.infradead.org
Sat Nov 5 13:57:51 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/1ee635c561ec54db7d856aa1c9a25e31112fbac4

commit 1ee635c561ec54db7d856aa1c9a25e31112fbac4
Author: Luiz Angelo Daros de Luca <luizluca at gmail.com>
AuthorDate: Thu Nov 3 13:34:22 2022 -0300

    realtek: fix typo in debug message
    
    vid_end was mentioned twice.
    
    Signed-off-by: Luiz Angelo Daros de Luca <luizluca at gmail.com>
---
 target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/dsa.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/dsa.c b/target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/dsa.c
index 6ef255db4b..239b02b6ee 100644
--- a/target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/dsa.c
+++ b/target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/dsa.c
@@ -1446,7 +1446,7 @@ static void rtl83xx_vlan_add(struct dsa_switch *ds, int port,
 	struct rtl838x_switch_priv *priv = ds->priv;
 	int v;
 
-	pr_debug("%s port %d, vid_end %d, vid_end %d, flags %x\n", __func__,
+	pr_debug("%s port %d, vid_begin %d, vid_end %d, flags %x\n", __func__,
 		port, vlan->vid_begin, vlan->vid_end, vlan->flags);
 
 	if (vlan->vid_begin > 4095 || vlan->vid_end > 4095) {
@@ -1511,7 +1511,7 @@ static int rtl83xx_vlan_del(struct dsa_switch *ds, int port,
 	int v;
 	u16 pvid;
 
-	pr_debug("%s: port %d, vid_end %d, vid_end %d, flags %x\n", __func__,
+	pr_debug("%s: port %d, vid_begin %d, vid_end %d, flags %x\n", __func__,
 		port, vlan->vid_begin, vlan->vid_end, vlan->flags);
 
 	if (vlan->vid_begin > 4095 || vlan->vid_end > 4095) {




More information about the lede-commits mailing list