netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: dsa: realtek: rtl8365mb: fix return value in rtl8365mb_phy_ocp_write
       [not found] <2114795695.8721689.1763312184906.ref@mail.yahoo.com>
@ 2025-11-16 16:56 ` Mietek N
  2025-11-16 17:18   ` Mietek N
  0 siblings, 1 reply; 15+ messages in thread
From: Mietek N @ 2025-11-16 16:56 UTC (permalink / raw)
  To: netdev@vger.kernel.org
  Cc: linus.walleij@linaro.org, edumazet@google.com,
	alsi@bang-olufsen.dk, olteanv@gmail.com, kuba@kernel.org,
	pabeni@redhat.com, Andrew Lunn, davem@davemloft.net

Function rtl8365mb_phy_ocp_write() always returns 0, even when an error
occurs during register access. This patch fixes the return value to
propagate the actual error code from regmap operations.

Fixes: 964a56e ("net: dsa: realtek: add RTL8365MB switch driver")
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
---
drivers/net/dsa/realtek/rtl8365mb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/dsa/realtek/rtl8365mb.c b/drivers/net/dsa/realtek/rtl8365mb.c
index 964a56e..d06b384 100644
--- a/drivers/net/dsa/realtek/rtl8365mb.c
+++ b/drivers/net/dsa/realtek/rtl8365mb.c
@@ -769,7 +769,7 @@ static int rtl8365mb_phy_ocp_write(struct realtek_priv *priv, int phy,
out:
    rtl83xx_unlock(priv);

-    return 0;
+    return ret;
}

static int rtl8365mb_phy_read(struct realtek_priv *priv, int phy, int regnum)
--
2.43.0




^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: [PATCH] net: dsa: realtek: rtl8365mb: fix return value in rtl8365mb_phy_ocp_write
  2025-11-16 16:56 ` [PATCH] net: dsa: realtek: rtl8365mb: fix return value in rtl8365mb_phy_ocp_write Mietek N
@ 2025-11-16 17:18   ` Mietek N
  2025-11-16 19:32     ` Andrew Lunn
                       ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Mietek N @ 2025-11-16 17:18 UTC (permalink / raw)
  To: netdev@vger.kernel.org
  Cc: linus.walleij@linaro.org, edumazet@google.com,
	alsi@bang-olufsen.dk, olteanv@gmail.com, kuba@kernel.org,
	pabeni@redhat.com, Andrew Lunn, davem@davemloft.net

Function rtl8365mb_phy_ocp_write() always returns 0, even when an erroroccurs during register access. This patch fixes the return value to
propagate the actual error code from regmap operations.

Fixes: 964a56e ("net: dsa: realtek: add RTL8365MB switch driver")
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
---
drivers/net/dsa/realtek/rtl8365mb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/dsa/realtek/rtl8365mb.c b/drivers/net/dsa/realtek/rtl8365mb.c
index 964a56e..d06b384 100644

--- a/drivers/net/dsa/realtek/rtl8365mb.c
+++ b/drivers/net/dsa/realtek/rtl8365mb.c
@@ -769,7 +769,7 @@ static int rtl8365mb_phy_ocp_write(struct realtek_priv *priv, int phy,
 out:
    rtl83xx_unlock(priv);
 
-    return 0;
+    return ret;
 }
 
 static int rtl8365mb_phy_read(struct realtek_priv *priv, int phy, int regnum)
--
2.43.0





^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] net: dsa: realtek: rtl8365mb: fix return value in rtl8365mb_phy_ocp_write
  2025-11-16 17:18   ` Mietek N
@ 2025-11-16 19:32     ` Andrew Lunn
  2025-11-16 20:09       ` Mietek N
  2026-01-03 19:12       ` [PATCH v2] net: dsa: realtek: rtl8365mb: remove ifOutDiscards from rx_packets Mieczyslaw Nalewaj
  2026-01-03 19:17     ` [PATCH v3] " Mieczyslaw Nalewaj
  2026-01-04 11:25     ` [PATCH] net: dsa: realtek: rtl8365mb: fix return value in rtl8365mb_phy_ocp_write Mieczyslaw Nalewaj
  2 siblings, 2 replies; 15+ messages in thread
From: Andrew Lunn @ 2025-11-16 19:32 UTC (permalink / raw)
  To: Mietek N
  Cc: netdev@vger.kernel.org, linus.walleij@linaro.org,
	edumazet@google.com, alsi@bang-olufsen.dk, olteanv@gmail.com,
	kuba@kernel.org, pabeni@redhat.com, davem@davemloft.net

On Sun, Nov 16, 2025 at 05:18:31PM +0000, Mietek N wrote:
> Function rtl8365mb_phy_ocp_write() always returns 0, even when an erroroccurs during register access. This patch fixes the return value to
> propagate the actual error code from regmap operations.
> 
> Fixes: 964a56e ("net: dsa: realtek: add RTL8365MB switch driver")
> Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>

Please take a read of

https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html
https://docs.kernel.org/process/submitting-patches.html

Netdev requests that you only submit one version of a patch a day. If
you notice something wrong in your patch, reply to it, and say what is
wrong. And then post a new version the next day.

This is also v3 of the patch. Please put the version number in the
[patch vX] part.

Your hash in the Fixes: is also too short. The kernel requests 12
character hashes. There is a git configuration for this.

Also, 964a56e does not seem correct.

The history is a bit complex. It appears it was first added in

commit 4af2950c50c8634ed2865cf81e607034f78b84aa
Author: Alvin Šipraga <alsi@bang-olufsen.dk>
Date:   Mon Oct 18 11:38:01 2021 +0200

    net: dsa: realtek-smi: add rtl8365mb subdriver for RTL8365MB-VC

which added the file drivers/net/dsa/rtl8365mb.c. That version is
correct, it ends with:

+       ret = rtl8365mb_phy_poll_busy(smi);
+       if (ret)
+               return ret;
+
+       return 0;
+}

We have:

commit 319a70a5fea9590e9431dd57f56191996c4787f4
Author: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Date:   Fri Jan 28 03:04:58 2022 -0300

    net: dsa: realtek-smi: move to subdirectory

and if you look at that version, the return value is still O.K.

What actually seems to break it is:

commit 2796728460b822d549841e0341752b263dc265c4
Author: Alvin Šipraga <alsi@bang-olufsen.dk>
Date:   Mon Feb 21 19:46:31 2022 +0100

    net: dsa: realtek: rtl8365mb: serialize indirect PHY register access

        ret = rtl8365mb_phy_poll_busy(priv);
        if (ret)
-               return ret;
+               goto out;
+
+out:
+       mutex_unlock(&priv->map_lock);
 
        return 0;
 }

So instead of directly returning the error code, it now does an
unlock, and return 0. So this is what your Fixes tag needs to be.

    Andrew

---
pw-bot: cr

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] net: dsa: realtek: rtl8365mb: fix return value in rtl8365mb_phy_ocp_write
  2025-11-16 19:32     ` Andrew Lunn
@ 2025-11-16 20:09       ` Mietek N
  2026-01-03 19:12       ` [PATCH v2] net: dsa: realtek: rtl8365mb: remove ifOutDiscards from rx_packets Mieczyslaw Nalewaj
  1 sibling, 0 replies; 15+ messages in thread
From: Mietek N @ 2025-11-16 20:09 UTC (permalink / raw)
  To: Andrew Lunn
  Cc: netdev@vger.kernel.org, linus.walleij@linaro.org,
	edumazet@google.com, alsi@bang-olufsen.dk, olteanv@gmail.com,
	kuba@kernel.org, pabeni@redhat.com, davem@davemloft.net

[PATCH v4] net: dsa: realtek: rtl8365mb: fix return value in rtl8365mb_phy_ocp_write

Function rtl8365mb_phy_ocp_write() always returns 0, even when an error
occurs during register access. This patch fixes the return value to
propagate the actual error code from regmap operations.

Fixes: 2796728460b822d549841e0341752b263dc265c4 ("net: dsa: realtek: rtl8365mb: serialize indirect PHY register access")
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
---
drivers/net/dsa/realtek/rtl8365mb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/dsa/realtek/rtl8365mb.c b/drivers/net/dsa/realtek/rtl8365mb.c
index 964a56e..d06b384 100644

--- a/drivers/net/dsa/realtek/rtl8365mb.c
+++ b/drivers/net/dsa/realtek/rtl8365mb.c
@@ -769,7 +769,7 @@ static int rtl8365mb_phy_ocp_write(struct realtek_priv *priv, int phy,
 out:
    rtl83xx_unlock(priv);
 
-    return 0;
+    return ret;
 }
 
 static int rtl8365mb_phy_read(struct realtek_priv *priv, int phy, int regnum)
--
2.43.0


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH v2] net: dsa: realtek: rtl8365mb: remove ifOutDiscards from rx_packets
  2025-11-16 19:32     ` Andrew Lunn
  2025-11-16 20:09       ` Mietek N
@ 2026-01-03 19:12       ` Mieczyslaw Nalewaj
  1 sibling, 0 replies; 15+ messages in thread
From: Mieczyslaw Nalewaj @ 2026-01-03 19:12 UTC (permalink / raw)
  To: Andrew Lunn
  Cc: netdev@vger.kernel.org, linus.walleij@linaro.org,
	edumazet@google.com, alsi@bang-olufsen.dk, olteanv@gmail.com,
	kuba@kernel.org, pabeni@redhat.com, davem@davemloft.net

rx_packets should report the number of frames successfully received: 
unicast + multicast + broadcast. Subtracting ifOutDiscards (a TX 
counter) is incorrect and can undercount RX packets. RX drops are 
already reported via rx_dropped (e.g. etherStatsDropEvents), so there is 
no need to adjust rx_packets. This patch removes the subtraction of 
ifOutDiscards from rx_packets in rtl8365mb_stats_update(). Fixes: 
4af2950c50c8634ed2865cf81e607034f78b84aa ("net: dsa: realtek-smi: add 
rtl8365mb subdriver for RTL8365MB-VC") Signed-off-by: Mieczyslaw Nalewaj 
<namiltd@yahoo.com> --- drivers/net/dsa/realtek/rtl8365mb.c | 3 +-- 1 
file changed, 1 insertion(+), 2 deletions(-) --- 
a/drivers/net/dsa/realtek/rtl8365mb.c +++ 
b/drivers/net/dsa/realtek/rtl8365mb.c @@ -2180,8 +2180,7 @@ static void 
rtl8365mb_stats_update(struc stats->rx_packets = 
cnt[RTL8365MB_MIB_ifInUcastPkts] + cnt[RTL8365MB_MIB_ifInMulticastPkts] 
+ - cnt[RTL8365MB_MIB_ifInBroadcastPkts] - - 
cnt[RTL8365MB_MIB_ifOutDiscards]; + 
cnt[RTL8365MB_MIB_ifInBroadcastPkts]; stats->tx_packets = 
cnt[RTL8365MB_MIB_ifOutUcastPkts] + cnt[RTL8365MB_MIB_ifOutMulticastPkts] +


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH v3] net: dsa: realtek: rtl8365mb: remove ifOutDiscards from rx_packets
  2025-11-16 17:18   ` Mietek N
  2025-11-16 19:32     ` Andrew Lunn
@ 2026-01-03 19:17     ` Mieczyslaw Nalewaj
  2026-01-04 15:31       ` Jakub Kicinski
  2026-01-04 11:25     ` [PATCH] net: dsa: realtek: rtl8365mb: fix return value in rtl8365mb_phy_ocp_write Mieczyslaw Nalewaj
  2 siblings, 1 reply; 15+ messages in thread
From: Mieczyslaw Nalewaj @ 2026-01-03 19:17 UTC (permalink / raw)
  To: netdev@vger.kernel.org
  Cc: linus.walleij@linaro.org, edumazet@google.com,
	alsi@bang-olufsen.dk, olteanv@gmail.com, kuba@kernel.org,
	pabeni@redhat.com, Andrew Lunn, davem@davemloft.net

rx_packets should report the number of frames successfully received:
unicast + multicast + broadcast. Subtracting ifOutDiscards (a TX
counter) is incorrect and can undercount RX packets. RX drops are
already reported via rx_dropped (e.g. etherStatsDropEvents), so
there is no need to adjust rx_packets.

This patch removes the subtraction of ifOutDiscards from rx_packets
in rtl8365mb_stats_update().

Fixes: 4af2950c50c8634ed2865cf81e607034f78b84aa
  ("net: dsa: realtek-smi: add rtl8365mb subdriver for RTL8365MB-VC")

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
---
  drivers/net/dsa/realtek/rtl8365mb.c | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

--- a/drivers/net/dsa/realtek/rtl8365mb.c
+++ b/drivers/net/dsa/realtek/rtl8365mb.c
@@ -2180,8 +2180,7 @@ static void rtl8365mb_stats_update(struc

      stats->rx_packets = cnt[RTL8365MB_MIB_ifInUcastPkts] +
                  cnt[RTL8365MB_MIB_ifInMulticastPkts] +
-                cnt[RTL8365MB_MIB_ifInBroadcastPkts] -
-                cnt[RTL8365MB_MIB_ifOutDiscards];
+                cnt[RTL8365MB_MIB_ifInBroadcastPkts];

      stats->tx_packets = cnt[RTL8365MB_MIB_ifOutUcastPkts] +
                  cnt[RTL8365MB_MIB_ifOutMulticastPkts] +


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] net: dsa: realtek: rtl8365mb: fix return value in rtl8365mb_phy_ocp_write
  2025-11-16 17:18   ` Mietek N
  2025-11-16 19:32     ` Andrew Lunn
  2026-01-03 19:17     ` [PATCH v3] " Mieczyslaw Nalewaj
@ 2026-01-04 11:25     ` Mieczyslaw Nalewaj
  2026-01-04 21:11       ` Andrew Lunn
  2 siblings, 1 reply; 15+ messages in thread
From: Mieczyslaw Nalewaj @ 2026-01-04 11:25 UTC (permalink / raw)
  To: netdev@vger.kernel.org
  Cc: linus.walleij@linaro.org, edumazet@google.com,
	alsi@bang-olufsen.dk, olteanv@gmail.com, kuba@kernel.org,
	pabeni@redhat.com, Andrew Lunn, davem@davemloft.net

What else can I do to add this patch?


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH v3] net: dsa: realtek: rtl8365mb: remove ifOutDiscards from rx_packets
  2026-01-03 19:17     ` [PATCH v3] " Mieczyslaw Nalewaj
@ 2026-01-04 15:31       ` Jakub Kicinski
  2026-01-04 15:54         ` [PATCH v4] " Mieczyslaw Nalewaj
  0 siblings, 1 reply; 15+ messages in thread
From: Jakub Kicinski @ 2026-01-04 15:31 UTC (permalink / raw)
  To: Mieczyslaw Nalewaj
  Cc: netdev@vger.kernel.org, linus.walleij@linaro.org,
	edumazet@google.com, alsi@bang-olufsen.dk, olteanv@gmail.com,
	pabeni@redhat.com, Andrew Lunn, davem@davemloft.net

On Sat, 3 Jan 2026 20:17:49 +0100 Mieczyslaw Nalewaj wrote:
> rx_packets should report the number of frames successfully received:
> unicast + multicast + broadcast. Subtracting ifOutDiscards (a TX
> counter) is incorrect and can undercount RX packets. RX drops are
> already reported via rx_dropped (e.g. etherStatsDropEvents), so
> there is no need to adjust rx_packets.
> 
> This patch removes the subtraction of ifOutDiscards from rx_packets
> in rtl8365mb_stats_update().
> 
> Fixes: 4af2950c50c8634ed2865cf81e607034f78b84aa

12 characters of the hash in the fixes tag is enough, and don't wrap it.

>   ("net: dsa: realtek-smi: add rtl8365mb subdriver for RTL8365MB-VC")
> 
> Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
> ---
>   drivers/net/dsa/realtek/rtl8365mb.c | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
> 
> --- a/drivers/net/dsa/realtek/rtl8365mb.c
> +++ b/drivers/net/dsa/realtek/rtl8365mb.c
> @@ -2180,8 +2180,7 @@ static void rtl8365mb_stats_update(struc
> 
>       stats->rx_packets = cnt[RTL8365MB_MIB_ifInUcastPkts] +
>                   cnt[RTL8365MB_MIB_ifInMulticastPkts] +
> -                cnt[RTL8365MB_MIB_ifInBroadcastPkts] -
> -                cnt[RTL8365MB_MIB_ifOutDiscards];
> +                cnt[RTL8365MB_MIB_ifInBroadcastPkts];
> 
>       stats->tx_packets = cnt[RTL8365MB_MIB_ifOutUcastPkts] +
>                   cnt[RTL8365MB_MIB_ifOutMulticastPkts] +

Patch seems to make sense but it's mangled by your email client.
Please try resending with git send-email. Also please have a read of:
https://www.kernel.org/doc/html/next/process/maintainer-netdev.html
-- 
pw-bot: cr

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH v4] net: dsa: realtek: rtl8365mb: remove ifOutDiscards from rx_packets
  2026-01-04 15:31       ` Jakub Kicinski
@ 2026-01-04 15:54         ` Mieczyslaw Nalewaj
  2026-01-04 17:01           ` Jakub Kicinski
  0 siblings, 1 reply; 15+ messages in thread
From: Mieczyslaw Nalewaj @ 2026-01-04 15:54 UTC (permalink / raw)
  To: Jakub Kicinski
  Cc: alsi@bang-olufsen.dk, olteanv@gmail.com, Andrew Lunn,
	davem@davemloft.net, Eric Dumazet, netdev@vger.kernel.org,
	Paolo Abeni

rx_packets should report the number of frames successfully received:
unicast + multicast + broadcast. Subtracting ifOutDiscards (a TX
counter) is incorrect and can undercount RX packets. RX drops are
already reported via rx_dropped (e.g. etherStatsDropEvents), so
there is no need to adjust rx_packets.

This patch removes the subtraction of ifOutDiscards from rx_packets
in rtl8365mb_stats_update().

Fixes: 4af2950c50c8 ("net: dsa: realtek-smi: add rtl8365mb subdriver for 
RTL8365MB-VC")

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
---
  drivers/net/dsa/realtek/rtl8365mb.c | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

--- a/drivers/net/dsa/realtek/rtl8365mb.c
+++ b/drivers/net/dsa/realtek/rtl8365mb.c
@@ -2180,8 +2180,7 @@ static void rtl8365mb_stats_update(struc

  	stats->rx_packets = cnt[RTL8365MB_MIB_ifInUcastPkts] +
  			    cnt[RTL8365MB_MIB_ifInMulticastPkts] +
-			    cnt[RTL8365MB_MIB_ifInBroadcastPkts] -
-			    cnt[RTL8365MB_MIB_ifOutDiscards];
+			    cnt[RTL8365MB_MIB_ifInBroadcastPkts];

  	stats->tx_packets = cnt[RTL8365MB_MIB_ifOutUcastPkts] +
  			    cnt[RTL8365MB_MIB_ifOutMulticastPkts] +


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH v4] net: dsa: realtek: rtl8365mb: remove ifOutDiscards from rx_packets
  2026-01-04 15:54         ` [PATCH v4] " Mieczyslaw Nalewaj
@ 2026-01-04 17:01           ` Jakub Kicinski
  2026-01-04 17:39             ` [PATCH v5] " Mieczyslaw Nalewaj
  0 siblings, 1 reply; 15+ messages in thread
From: Jakub Kicinski @ 2026-01-04 17:01 UTC (permalink / raw)
  To: Mieczyslaw Nalewaj
  Cc: alsi@bang-olufsen.dk, olteanv@gmail.com, Andrew Lunn,
	davem@davemloft.net, Eric Dumazet, netdev@vger.kernel.org,
	Paolo Abeni

On Sun, 4 Jan 2026 16:54:53 +0100 Mieczyslaw Nalewaj wrote:
> Fixes: 4af2950c50c8 ("net: dsa: realtek-smi: add rtl8365mb subdriver for 
> RTL8365MB-VC")
> 
> Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>

Still white space damaged.

I asked you to read a document, have you even opened it?

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH v5] net: dsa: realtek: rtl8365mb: remove ifOutDiscards from rx_packets
  2026-01-04 17:01           ` Jakub Kicinski
@ 2026-01-04 17:39             ` Mieczyslaw Nalewaj
  2026-01-04 17:52               ` Jakub Kicinski
  0 siblings, 1 reply; 15+ messages in thread
From: Mieczyslaw Nalewaj @ 2026-01-04 17:39 UTC (permalink / raw)
  To: Jakub Kicinski
  Cc: alsi@bang-olufsen.dk, olteanv@gmail.com, Andrew Lunn,
	davem@davemloft.net, Eric Dumazet, netdev@vger.kernel.org,
	Paolo Abeni

rx_packets should report the number of frames successfully received:
unicast + multicast + broadcast. Subtracting ifOutDiscards (a TX
counter) is incorrect and can undercount RX packets. RX drops are
already reported via rx_dropped (e.g. etherStatsDropEvents), so
there is no need to adjust rx_packets.

This patch removes the subtraction of ifOutDiscards from rx_packets
in rtl8365mb_stats_update().

Fixes: 4af2950c50c8 ("net: dsa: realtek-smi: add rtl8365mb subdriver for RTL8365MB-VC")

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
---
 drivers/net/dsa/realtek/rtl8365mb.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- a/drivers/net/dsa/realtek/rtl8365mb.c
+++ b/drivers/net/dsa/realtek/rtl8365mb.c
@@ -2180,8 +2180,7 @@ static void rtl8365mb_stats_update(struc
 
 	stats->rx_packets = cnt[RTL8365MB_MIB_ifInUcastPkts] +
 			    cnt[RTL8365MB_MIB_ifInMulticastPkts] +
-			    cnt[RTL8365MB_MIB_ifInBroadcastPkts] -
-			    cnt[RTL8365MB_MIB_ifOutDiscards];
+			    cnt[RTL8365MB_MIB_ifInBroadcastPkts];
 
 	stats->tx_packets = cnt[RTL8365MB_MIB_ifOutUcastPkts] +
 			    cnt[RTL8365MB_MIB_ifOutMulticastPkts] +


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH v5] net: dsa: realtek: rtl8365mb: remove ifOutDiscards from rx_packets
  2026-01-04 17:39             ` [PATCH v5] " Mieczyslaw Nalewaj
@ 2026-01-04 17:52               ` Jakub Kicinski
  2026-01-05  8:35                 ` Mieczyslaw Nalewaj
  0 siblings, 1 reply; 15+ messages in thread
From: Jakub Kicinski @ 2026-01-04 17:52 UTC (permalink / raw)
  To: Mieczyslaw Nalewaj
  Cc: alsi@bang-olufsen.dk, olteanv@gmail.com, Andrew Lunn,
	davem@davemloft.net, Eric Dumazet, netdev@vger.kernel.org,
	Paolo Abeni

On Sun, 4 Jan 2026 18:39:50 +0100 Mieczyslaw Nalewaj wrote:
> Fixes: 4af2950c50c8 ("net: dsa: realtek-smi: add rtl8365mb subdriver for RTL8365MB-VC")
> 
> Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>

 - no empty lines between tags
 - don't send patches in reply to existing threads
 - don't send new versions less than 24h after previous version

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] net: dsa: realtek: rtl8365mb: fix return value in rtl8365mb_phy_ocp_write
  2026-01-04 11:25     ` [PATCH] net: dsa: realtek: rtl8365mb: fix return value in rtl8365mb_phy_ocp_write Mieczyslaw Nalewaj
@ 2026-01-04 21:11       ` Andrew Lunn
  0 siblings, 0 replies; 15+ messages in thread
From: Andrew Lunn @ 2026-01-04 21:11 UTC (permalink / raw)
  To: Mieczyslaw Nalewaj
  Cc: netdev@vger.kernel.org, linus.walleij@linaro.org,
	edumazet@google.com, alsi@bang-olufsen.dk, olteanv@gmail.com,
	kuba@kernel.org, pabeni@redhat.com, davem@davemloft.net

On Sun, Jan 04, 2026 at 12:25:56PM +0100, Mieczyslaw Nalewaj wrote:
> What else can I do to add this patch?

I suggest you first get "net: dsa: realtek: rtl8365mb: remove
ifOutDiscards from rx_packets" accepted, so that you know you have
working email client, and have read the netdev FAQ so don't get
anything else wrong.

It takes a while to get processes correct.

   Andrew

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH v5] net: dsa: realtek: rtl8365mb: remove ifOutDiscards from rx_packets
  2026-01-04 17:52               ` Jakub Kicinski
@ 2026-01-05  8:35                 ` Mieczyslaw Nalewaj
  2026-01-05 14:23                   ` Andrew Lunn
  0 siblings, 1 reply; 15+ messages in thread
From: Mieczyslaw Nalewaj @ 2026-01-05  8:35 UTC (permalink / raw)
  To: Jakub Kicinski
  Cc: alsi@bang-olufsen.dk, olteanv@gmail.com, Andrew Lunn,
	davem@davemloft.net, Eric Dumazet, netdev@vger.kernel.org,
	Paolo Abeni

The fix doesn't add any new lines, it just removes the erroneous one.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH v5] net: dsa: realtek: rtl8365mb: remove ifOutDiscards from rx_packets
  2026-01-05  8:35                 ` Mieczyslaw Nalewaj
@ 2026-01-05 14:23                   ` Andrew Lunn
  0 siblings, 0 replies; 15+ messages in thread
From: Andrew Lunn @ 2026-01-05 14:23 UTC (permalink / raw)
  To: Mieczyslaw Nalewaj
  Cc: Jakub Kicinski, alsi@bang-olufsen.dk, olteanv@gmail.com,
	davem@davemloft.net, Eric Dumazet, netdev@vger.kernel.org,
	Paolo Abeni

On Mon, Jan 05, 2026 at 09:35:23AM +0100, Mieczyslaw Nalewaj wrote:
> The fix doesn't add any new lines, it just removes the erroneous one.

Please don't top post.

If you did not top post, and actually looked at the context Jakub
included:

> > Fixes: 4af2950c50c8 ("net: dsa: realtek-smi: add rtl8365mb subdriver for RTL8365MB-VC")
> >
> > Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
>
> - no empty lines between tags
> - don't send patches in reply to existing threads
> - don't send new versions less than 24h after previous version

You will see an empty line. This is one of the reasons we say not to
top post. The context is important, it gives you.... context.

    Andrew

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2026-01-05 14:23 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <2114795695.8721689.1763312184906.ref@mail.yahoo.com>
2025-11-16 16:56 ` [PATCH] net: dsa: realtek: rtl8365mb: fix return value in rtl8365mb_phy_ocp_write Mietek N
2025-11-16 17:18   ` Mietek N
2025-11-16 19:32     ` Andrew Lunn
2025-11-16 20:09       ` Mietek N
2026-01-03 19:12       ` [PATCH v2] net: dsa: realtek: rtl8365mb: remove ifOutDiscards from rx_packets Mieczyslaw Nalewaj
2026-01-03 19:17     ` [PATCH v3] " Mieczyslaw Nalewaj
2026-01-04 15:31       ` Jakub Kicinski
2026-01-04 15:54         ` [PATCH v4] " Mieczyslaw Nalewaj
2026-01-04 17:01           ` Jakub Kicinski
2026-01-04 17:39             ` [PATCH v5] " Mieczyslaw Nalewaj
2026-01-04 17:52               ` Jakub Kicinski
2026-01-05  8:35                 ` Mieczyslaw Nalewaj
2026-01-05 14:23                   ` Andrew Lunn
2026-01-04 11:25     ` [PATCH] net: dsa: realtek: rtl8365mb: fix return value in rtl8365mb_phy_ocp_write Mieczyslaw Nalewaj
2026-01-04 21:11       ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).