netlink: fix typo
Subsystems (2)
PATCH 1/1 netlink: fix typo
Add missing colon in coalesce_reply_cb
--- netlink/coalesce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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
Quoted 4 lines · gaoxingwang
Add missing colon in
coalesce_reply_cbFixes ec573f209d (netlink: settings: add netlink support for coalesce tx aggr params)
This commit cannot be found in net/net-next tree...
Quoted 3 lines
Signed-off-by gaoxingwang <[email protected]>Signed-off-by gaoxingwang <[email protected]>
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
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
netlink/coalesce.c
Quoted 14 lines · Fri, Mar 22, 2024 at 08:24:56AM CET, [email protected] wrote:
Add missing colon in
coalesce_reply_cbFixes ec573f209d (netlink: settings: add netlink support for coalesce tx aggr params)Signed-off-by gaoxingwang <[email protected]>Signed-off-by gaoxingwang <[email protected]>---
netlink/coalesce.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)netlink/coalesce.c +0
-0
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
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
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.
PATCH 1/1 netlink: fix typo in coalesce_reply_cb()
Add missing colon in coalesce_reply_cb()
--- netlink/coalesce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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
Quoted 6 lines · Fri, Mar 22, 2024 at 08:24:56AM CET, [email protected] wrote:
Add missing colon in
coalesce_reply_cbFixes ec573f209d (netlink: settings: add netlink support for coalesce tx aggr params)Signed-off-by gaoxingwang <[email protected]>Signed-off-by gaoxingwang <[email protected]>
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@@ -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
Jakub Kicinski
maintainerQuoted 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.
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.
PATCH 1/1 netlink: fix typo in coalesce_reply_cb()
Add missing colon in coalesce_reply_cb()
--- netlink/coalesce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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
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)Signed-off-by Gao Xingwang <[email protected]>--- netlink/coalesce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)netlink/coalesce.c +0
-0
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 ();