perf: fix repeated word in log message
PATCH 14/14 perf: fix repeated word in log message
Drop the word written twice, reported by checkpatch.pl as a possible repeated word.
Only the message text changes, no code changes.
Assisted-by Cursor:claude-opus-5
Signed-off-by Hemanth Selam <[email protected]>
--- tools/perf/util/synthetic-events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/util/synthetic-events.c +1 -1
@@ -2266,7 +2266,7 @@ int perf_event__synthesize_extra_attr(const struct perf_tool *tool, struct evlisif (has_scale (evsel)) { err =perf_event__synthesize_event_update_scale (tool, evsel, process);if (err <0 ) { -pr_err ("Couldn't synthesize evsel evsel.\n" ); +pr_err ("Couldn't synthesize evsel.\n" );return err; } }
Quoted 4 lines · Hemanth Selam
Drop the word written twice, reported by checkpatch.pl as a possible repeated word.
Only the message text changes, no code changes.
Thanks, applied to perf-tools-next, for v7.4.
- Arnaldo
Quoted 19 lines
Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>--- tools/perf/util/synthetic-events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/perf/util/synthetic-events.c +1
-1@@ -2266,7 +2266,7 @@ int perf_event__synthesize_extra_attr(const struct perf_tool *tool, struct evlisif (has_scale (evsel)) { err =perf_event__synthesize_event_update_scale (tool, evsel, process);if (err <0 ) { -pr_err ("Couldn't synthesize evsel evsel.\n" ); +pr_err ("Couldn't synthesize evsel.\n" );return err; } }