From: Luiz Angelo Daros de Luca Date: Thu, 3 Nov 2022 16:34:22 +0000 (-0300) Subject: realtek: fix typo in debug message X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1ee635c561ec54db7d856aa1c9a25e31112fbac4;p=openwrt%2Fstaging%2Frmilecki.git realtek: fix typo in debug message vid_end was mentioned twice. Signed-off-by: Luiz Angelo Daros de Luca --- 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 6ef255db4b3..239b02b6ee2 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) {