perf cs-etm: Fix spelling mistake "should't" -> "shouldn't"
Subsystems (4)
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
@@ -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
[email protected]
AI reviewSashiko has reviewed this patch and found no issues.
Quoted 3 lines
There is a spelling mistake in a
pr_errerror message. Fix it.Signed-off-by Colin Ian King <[email protected]>
Sashiko has reviewed this patch and found no issues.
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Quoted 12 lines · Colin Ian King
There is a spelling mistake in a
pr_errerror message. Fix it.Signed-off-by Colin Ian King <[email protected]>--- tools/perf/util/cs-etm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/perf/util/cs-etm.c +0
-0
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 ; }
Ian Rogers
reviewerQuoted 18 lines · James Clark
Quoted 14 lines · Colin Ian King
There is a spelling mistake in a
pr_errerror message. Fix it.Signed-off-by Colin Ian King <[email protected]>--- tools/perf/util/cs-etm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/perf/util/cs-etm.c +0
-0@@ -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
-1if (!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 ; }Reviewed-by James Clark <[email protected]>
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
James Clark
reviewerQuoted 29 lines · Ian Rogers
Quoted 18 lines · James Clark
Quoted 14 lines · Colin Ian King
There is a spelling mistake in a
pr_errerror message. Fix it.Signed-off-by Colin Ian King <[email protected]>--- tools/perf/util/cs-etm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/perf/util/cs-etm.c +0
-0@@ -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
-1if (!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 ; }Reviewed-by James Clark <[email protected]>
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.
Quoted 3 lines · Colin Ian King
There is a spelling mistake in a
pr_errerror message. Fix it.Signed-off-by Colin Ian King <[email protected]>
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@@ -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