Skip to contentSkip to conversation

netlink: fix typo

PATCH In review gaoxingwang 6 participants 11 messages Mar 22, 2024 – Apr 2, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netlink: fix typo

Add missing colon in coalesce_reply_cb

Fixes ec573f209d (netlink: settings: add netlink support for coalesce tx aggr params)
---
 netlink/coalesce.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
netlink/coalesce.c +1 -1
index bc34d3d..bb93f9b 100644
@@ -93,7 +93,7 @@ int coalesce_reply_cb(const struct nlmsghdr *nlhdr, void *data)
 		 tb[ETHTOOL_A_COALESCE_TX_AGGR_MAX_BYTES]);
 	show_u32("tx-aggr-max-frames", "tx-aggr-max-frames:\t",
 		 tb[ETHTOOL_A_COALESCE_TX_AGGR_MAX_FRAMES]);
-	show_u32("tx-aggr-time-usecs", "tx-aggr-time-usecs\t",
+	show_u32("tx-aggr-time-usecs", "tx-aggr-time-usecs:\t",
 		 tb[ETHTOOL_A_COALESCE_TX_AGGR_TIME_USECS]);
 	show_cr();
 
Signature · 1 line
2.27.0
#1 lore raw
Quoted 4 lines · gaoxingwang

Add missing colon in coalesce_reply_cb

Fixes ec573f209d (netlink: settings: add netlink support for coalesce tx aggr params)

This commit cannot be found in net/net-next tree...

Quoted 3 lines

nit: two duplicated SoB

netlink/coalesce.c

Quoted 8 lines
---
 netlink/coalesce.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
netlink/coalesce.c +0 -0
index bc34d3d..bb93f9b 100644

Where is this file? I suspect you're not using the standard mainline?

Quoted 13 lines
netlink/coalesce.c +1 -2
@@ -93,7 +93,7 @@ int coalesce_reply_cb(const struct nlmsghdr *nlhdr, void *data)
                 tb[ETHTOOL_A_COALESCE_TX_AGGR_MAX_BYTES]);
        show_u32("tx-aggr-max-frames", "tx-aggr-max-frames:\t",
                 tb[ETHTOOL_A_COALESCE_TX_AGGR_MAX_FRAMES]);
-       show_u32("tx-aggr-time-usecs", "tx-aggr-time-usecs\t",
+       show_u32("tx-aggr-time-usecs", "tx-aggr-time-usecs:\t",
                 tb[ETHTOOL_A_COALESCE_TX_AGGR_TIME_USECS]);
        show_cr();
 
--

2.27.0

#2 lore raw
In reply to gaoxingwang

netlink/coalesce.c

Quoted 14 lines · Fri, Mar 22, 2024 at 08:24:56AM CET, [email protected] wrote:

Add missing colon in coalesce_reply_cb

Fixes ec573f209d (netlink: settings: add netlink support for coalesce tx aggr params)

---
netlink/coalesce.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
netlink/coalesce.c +0 -0
index bc34d3d..bb93f9b 100644

Please make clear indication which project/tree you target with your patch by putting appropriate name in the [patch NAME] brackets

Quoted 13 lines
netlink/coalesce.c +1 -1
@@ -93,7 +93,7 @@ int coalesce_reply_cb(const struct nlmsghdr *nlhdr, void *data)
 		 tb[ETHTOOL_A_COALESCE_TX_AGGR_MAX_BYTES]);
 	show_u32("tx-aggr-max-frames", "tx-aggr-max-frames:\t",
 		 tb[ETHTOOL_A_COALESCE_TX_AGGR_MAX_FRAMES]);
-	show_u32("tx-aggr-time-usecs", "tx-aggr-time-usecs\t",
+	show_u32("tx-aggr-time-usecs", "tx-aggr-time-usecs:\t",
 		 tb[ETHTOOL_A_COALESCE_TX_AGGR_TIME_USECS]);
 	show_cr();
 
Signature · 1 line
2.27.0
#3 lore raw
Quoted 2 lines · Jiri Pirko

Please make clear indication which project/tree you target with your patch by putting appropriate name in the [patch NAME] brackets

In this case, it should be "[PATCH ethtool]".

Michal

#4 lore raw
Quoted 6 lines
Quoted 2 lines

Please make clear indication which project/tree you target with your patch by putting appropriate name in the [patch NAME] brackets

In this case, it should be "[PATCH ethtool]".

Michal

Yes, this is a commit for the ethtool project. First time contributing a patch to this project, not familiar with it yet. Thank you all or your guidance. I'll resubmit the patch later.

#5 lore raw

PATCH 1/1 netlink: fix typo in coalesce_reply_cb()

Add missing colon in coalesce_reply_cb()

Fixes ec573f209dfd (netlink: settings: add netlink support for coalesce tx aggr params)
---
 netlink/coalesce.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
netlink/coalesce.c +1 -1
index bc34d3d..bb93f9b 100644
@@ -93,7 +93,7 @@ int coalesce_reply_cb(const struct nlmsghdr *nlhdr, void *data)
 		 tb[ETHTOOL_A_COALESCE_TX_AGGR_MAX_BYTES]);
 	show_u32("tx-aggr-max-frames", "tx-aggr-max-frames:\t",
 		 tb[ETHTOOL_A_COALESCE_TX_AGGR_MAX_FRAMES]);
-	show_u32("tx-aggr-time-usecs", "tx-aggr-time-usecs\t",
+	show_u32("tx-aggr-time-usecs", "tx-aggr-time-usecs:\t",
 		 tb[ETHTOOL_A_COALESCE_TX_AGGR_TIME_USECS]);
 	show_cr();
 
Signature · 1 line
2.27.0
#6 lore raw
In reply to gaoxingwang
Quoted 6 lines · Fri, Mar 22, 2024 at 08:24:56AM CET, [email protected] wrote:

Add missing colon in coalesce_reply_cb

Fixes ec573f209d (netlink: settings: add netlink support for coalesce tx aggr params)

Also, please make sure your name is properly formatted. "gaoxingwang" certainly is not.

Quoted 21 lines

---
netlink/coalesce.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
netlink/coalesce.c +1 -1
index bc34d3d..bb93f9b 100644
@@ -93,7 +93,7 @@ int coalesce_reply_cb(const struct nlmsghdr *nlhdr, void *data)
 		 tb[ETHTOOL_A_COALESCE_TX_AGGR_MAX_BYTES]);
 	show_u32("tx-aggr-max-frames", "tx-aggr-max-frames:\t",
 		 tb[ETHTOOL_A_COALESCE_TX_AGGR_MAX_FRAMES]);
-	show_u32("tx-aggr-time-usecs", "tx-aggr-time-usecs\t",
+	show_u32("tx-aggr-time-usecs", "tx-aggr-time-usecs:\t",
 		 tb[ETHTOOL_A_COALESCE_TX_AGGR_TIME_USECS]);
 	show_cr();
 
Signature · 1 line
2.27.0
maintainer
#7 lore raw
Quoted 1 line · On Fri, 22 Mar 2024 09:14:39 +0100 Jiri Pirko wrote:

"gaoxingwang" certainly is not.

According to what rules? Honest question, I don't know much about transliteration of what I guess is a Chinese name.

#8 lore raw
Quoted 5 lines · Fri, Mar 22, 2024 at 04:07:27PM CET, [email protected] wrote:
Quoted 1 line · On Fri, 22 Mar 2024 09:14:39 +0100 Jiri Pirko wrote:

"gaoxingwang" certainly is not.

According to what rules? Honest question, I don't know much about transliteration of what I guess is a Chinese name.

At least capital letter would be nice :) But "Wang" looks like a surname and therefore a space would be appropriate too.

#9 lore raw

PATCH 1/1 netlink: fix typo in coalesce_reply_cb()

Add missing colon in coalesce_reply_cb()

Fixes ec573f209dfd (netlink: settings: add netlink support for coalesce tx aggr params)
---
 netlink/coalesce.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
netlink/coalesce.c +1 -1
index bc34d3d..bb93f9b 100644
@@ -93,7 +93,7 @@ int coalesce_reply_cb(const struct nlmsghdr *nlhdr, void *data)
 		 tb[ETHTOOL_A_COALESCE_TX_AGGR_MAX_BYTES]);
 	show_u32("tx-aggr-max-frames", "tx-aggr-max-frames:\t",
 		 tb[ETHTOOL_A_COALESCE_TX_AGGR_MAX_FRAMES]);
-	show_u32("tx-aggr-time-usecs", "tx-aggr-time-usecs\t",
+	show_u32("tx-aggr-time-usecs", "tx-aggr-time-usecs:\t",
 		 tb[ETHTOOL_A_COALESCE_TX_AGGR_TIME_USECS]);
 	show_cr();
 
Signature · 1 line
2.27.0
Reviewed-by on v1 1/1
#10 lore raw

Re: [PATCH ethtool-next] netlink: fix typo in coalesce_reply_cb()

Quoted 13 lines · gaoxingwang

Add missing colon in coalesce_reply_cb()

Fixes ec573f209dfd (netlink: settings: add netlink support for coalesce tx aggr params)
---
  netlink/coalesce.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
netlink/coalesce.c +0 -0
index bc34d3d..bb93f9b 100644

netlink/coalesce.c int coalesce_reply_cb(const struct nlmsghdr *nlhdr, void *data) · line 99

Quoted 8 lines
netlink/coalesce.c +1 -1
@@ -93,7 +93,7 @@ int coalesce_reply_cb(const struct nlmsghdr *nlhdr, void *data)
  		 tb[ETHTOOL_A_COALESCE_TX_AGGR_MAX_BYTES]);
  	show_u32("tx-aggr-max-frames", "tx-aggr-max-frames:\t",
  		 tb[ETHTOOL_A_COALESCE_TX_AGGR_MAX_FRAMES]);
-	show_u32("tx-aggr-time-usecs", "tx-aggr-time-usecs\t",
+	show_u32("tx-aggr-time-usecs", "tx-aggr-time-usecs:\t",
  		 tb[ETHTOOL_A_COALESCE_TX_AGGR_TIME_USECS]);
  	show_cr();