Skip to contentSkip to conversation

mlxsw: drop unexpected word 'for' in comments

PATCH In review Jiang Jian 3 participants 3 messages Jun 23, 2022

Subsystems (3)
lore
Share & tools
lore

Jiang Jian

author
#0 lore raw

PATCH 1/1 mlxsw: drop unexpected word 'for' in comments

there is an unexpected word 'for' in the comments that need to be dropped

file - drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c line - 18

* ids for for this purpose in partition definition.
changed to:

* ids for this purpose in partition definition.

---
 drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c +1 -1
index 10ae1115de6c..24ff305a2995 100644
@@ -15,7 +15,7 @@ struct mlxsw_sp2_kvdl_part_info {
 	 * usage bits we need and how many indexes there are
 	 * represented by a single bit. This could be got from FW
 	 * querying appropriate resources. So have the resource
-	 * ids for for this purpose in partition definition.
+	 * ids for this purpose in partition definition.
 	 */
 	enum mlxsw_res_id usage_bit_count_res_id;
 	enum mlxsw_res_id index_range_res_id;
Signature · 1 line
2.17.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Jiang Jian

there is an unexpected word 'for' in the comments that need to be dropped

file - drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c line - 18

* ids for for this purpose in partition definition.
changed to:

* ids for this purpose in partition definition.

For for net-next:

:)

maintainer
#2 lore raw
In reply to Jiang Jian
Quoted 7 lines · On Thu, 23 Jun 2022 18:46:01 +0800 Jiang Jian wrote:

file - drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c line - 18

* ids for for this purpose in partition definition.
changed to:

* ids for this purpose in partition definition.

Please stop putting the change into the description. I think I already complained about this.
This is exactly the same information as is in the patch itself.

And as other people have pointed out - please say that the word is repeated not "unexpected".

IDK why you made those changes because your patches on Wednesday where better:

[PATCH] bnxt: Fix typo in comments

Remove the repeated word 'and' from comments

https://lore.kernel.org/r/[email protected]/

I'm dropping these patches from you, please redo them:

https://patchwork.kernel.org/project/netdevbpf/patch/[email protected]/
https://patchwork.kernel.org/project/netdevbpf/patch/[email protected]/
https://patchwork.kernel.org/project/netdevbpf/patch/[email protected]/