Skip to contentSkip to conversation

net/mlx5/hws: fix typo in the log

PATCH In review Bing Zhao 3 participants 3 messages Nov 13, 2023 – Nov 14, 2023 Network drivers

lore
Share & tools
lore

Bing Zhao

author
#0 lore raw

PATCH 1/1 net/mlx5/hws: fix typo in the log

Change "cureent" to "current".

Fixes fa16fead9a68 ("net/mlx5/hws: support rule update after its creation")
---
 drivers/net/mlx5/hws/mlx5dr_rule.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/mlx5/hws/mlx5dr_rule.c +1 -1
index 980a99b226..fa19303b91 100644
@@ -741,7 +741,7 @@ int mlx5dr_rule_action_update(struct mlx5dr_rule *rule_handle,
 
 	if (unlikely(mlx5dr_table_is_root(matcher->tbl) ||
 	    unlikely(mlx5dr_matcher_req_fw_wqe(matcher)))) {
-		DR_LOG(ERR, "Rule update not supported on cureent matcher");
+		DR_LOG(ERR, "Rule update not supported on current matcher");
 		rte_errno = ENOTSUP;
 		return -rte_errno;
 	}
Signature · 1 line
2.34.1
Acked-by on v1 1/1
#1 lore raw

Hi,

Quoted 9 lines

-----Original Message-----
From: Bing Zhao <[email protected]>
Sent: Monday, November 13, 2023 3:21 PM
To: Matan Azrad <[email protected]>; Slava Ovsiienko <[email protected]>; Raslan Darawsheh <[email protected]>; Suanming Mou <[email protected]>; Ori Kam <[email protected]>
Cc: [email protected]; Erez Shitrit <[email protected]>; [email protected]
Subject: [PATCH] net/mlx5/hws: fix typo in the log

Quoted 7 lines

Change "cureent" to "current".

Fixes fa16fead9a68 ("net/mlx5/hws: support rule update after its creation")
Quoted 21 lines
---
 drivers/net/mlx5/hws/mlx5dr_rule.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/mlx5/hws/mlx5dr_rule.c +1 -1
index 980a99b226..fa19303b91 100644
@@ -741,7 +741,7 @@ int mlx5dr_rule_action_update(struct mlx5dr_rule
 *rule_handle,
 
 	if (unlikely(mlx5dr_table_is_root(matcher->tbl) ||
 	    unlikely(mlx5dr_matcher_req_fw_wqe(matcher)))) {
-		DR_LOG(ERR, "Rule update not supported on cureent matcher");
+		DR_LOG(ERR, "Rule update not supported on current matcher");
 		rte_errno = ENOTSUP;
 		return -rte_errno;

}
--
2.34.1

#2 lore raw
In reply to Bing Zhao

Hi,

Quoted 9 lines

-----Original Message-----
From: Bing Zhao <[email protected]>
Sent: Monday, November 13, 2023 9:21 AM
To: Matan Azrad <[email protected]>; Slava Ovsiienko <[email protected]>; Raslan Darawsheh <[email protected]>; Suanming Mou <[email protected]>; Ori Kam <[email protected]>
Cc: [email protected]; Erez Shitrit <[email protected]>; [email protected]
Subject: [PATCH] net/mlx5/hws: fix typo in the log

Quoted 7 lines

Change "cureent" to "current".

Fixes fa16fead9a68 ("net/mlx5/hws: support rule update after its creation")

Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh