Skip to contentSkip to conversation

perf cs-etm: Fix spelling mistake "should't" -> "shouldn't"

PATCH Applied Colin Ian King 5 participants 6 messages Oct 28 – Nov 3

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

PATCH 1/1 perf cs-etm: Fix spelling mistake "should't" -> "shouldn't"

There is a spelling mistake in a pr_err error message. Fix it.

---
 tools/perf/util/cs-etm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/util/cs-etm.c +1 -1
index bdcf94813129..65bce2450549 100644
@@ -434,7 +434,7 @@ static int cs_etm__map_unformatted_trace_ids(struct cs_etm_auxtrace *etm)
 			continue;
 
 		if (!intlist__empty(etmq->traceid_list)) {
-			pr_err("CS_ETM: Unformatted queue should't have trace ID\n");
+			pr_err("CS_ETM: Unformatted queue shouldn't have trace ID\n");
 			return -EINVAL;
 		}
 
Signature · 1 line
2.55.0
reviewer Reviewed-by on v1 1/1
#2 lore raw
In reply to Colin Ian King
Quoted 12 lines · Colin Ian King

There is a spelling mistake in a pr_err error message. Fix it.

---
  tools/perf/util/cs-etm.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/util/cs-etm.c +0 -0
index bdcf94813129..65bce2450549 100644

tools/perf/util/cs-etm.c static int cs_etm__map_unformatted_trace_ids(struct cs_etm_auxtrace *etm) · line 440

Quoted 8 lines
tools/perf/util/cs-etm.c +1 -1
@@ -434,7 +434,7 @@ static int cs_etm__map_unformatted_trace_ids(struct cs_etm_auxtrace *etm)
  			continue;
 
  		if (!intlist__empty(etmq->traceid_list)) {
-			pr_err("CS_ETM: Unformatted queue should't have trace ID\n");
+			pr_err("CS_ETM: Unformatted queue shouldn't have trace ID\n");
  			return -EINVAL;
  		}
 
reviewer
#3 lore raw
Quoted 18 lines · James Clark
Quoted 14 lines · Colin Ian King

There is a spelling mistake in a pr_err error message. Fix it.

---
  tools/perf/util/cs-etm.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/util/cs-etm.c +0 -0
index bdcf94813129..65bce2450549 100644
@@ -434,7 +434,7 @@ static int cs_etm__map_unformatted_trace_ids(struct cs_etm_auxtrace *etm)
                      continue;
 
Quoted 9 lines

tools/perf/util/cs-etm.c static int cs_etm__map_unformatted_trace_ids(struct cs_etm_auxtrace *etm) · line 440

Quoted 6 lines
tools/perf/util/cs-etm.c +1 -1
              if (!intlist__empty(etmq->traceid_list)) {
-                     pr_err("CS_ETM: Unformatted queue should't have trace ID\n");
+                     pr_err("CS_ETM: Unformatted queue shouldn't have trace ID\n");
                      return -EINVAL;
              }
 

I was curious how this passed Sashiko's review. Did Sashiko flag the spelling mistake but the fix was missed, or did Sashiko not flag it at all?

Thanks!
Ian

reviewer
#4 lore raw
Quoted 29 lines · Ian Rogers
Quoted 18 lines · James Clark
Quoted 14 lines · Colin Ian King

There is a spelling mistake in a pr_err error message. Fix it.

---
   tools/perf/util/cs-etm.c | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/util/cs-etm.c +0 -0
index bdcf94813129..65bce2450549 100644
@@ -434,7 +434,7 @@ static int cs_etm__map_unformatted_trace_ids(struct cs_etm_auxtrace *etm)
                       continue;
 
Quoted 9 lines

tools/perf/util/cs-etm.c static int cs_etm__map_unformatted_trace_ids(struct cs_etm_auxtrace *etm) · line 440

Quoted 6 lines
tools/perf/util/cs-etm.c +1 -1
               if (!intlist__empty(etmq->traceid_list)) {
-                     pr_err("CS_ETM: Unformatted queue should't have trace ID\n");
+                     pr_err("CS_ETM: Unformatted queue shouldn't have trace ID\n");
                       return -EINVAL;
               }
 
Quoted 6 lines

I was curious how this passed Sashiko's review. Did Sashiko flag the spelling mistake but the fix was missed, or did Sashiko not flag it at all?

Thanks!
Ian

It reviewed it, but it didn't flag it. What kind of typos is it supposed to look for? I haven't seen it flag one before.

I have a spellchecker in my IDE which didn't catch it either because should is correct and t is only 1 letter. Maybe there is a setting I can tweak.

maintainer Applied
#5 lore raw
In reply to Colin Ian King
Quoted 3 lines · Colin Ian King

There is a spelling mistake in a pr_err error message. Fix it.

Applied to perf-tools-next, thanks!

Best regards
Namhyung

Quoted 20 lines
---
 tools/perf/util/cs-etm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/util/cs-etm.c +1 -1
index bdcf94813129..65bce2450549 100644
@@ -434,7 +434,7 @@ static int cs_etm__map_unformatted_trace_ids(struct cs_etm_auxtrace *etm)
 			continue;
 
 		if (!intlist__empty(etmq->traceid_list)) {
-			pr_err("CS_ETM: Unformatted queue should't have trace ID\n");
+			pr_err("CS_ETM: Unformatted queue shouldn't have trace ID\n");
 			return -EINVAL;
 		}
 
Signature · 1 line
2.55.0