Re: [PATCH] tool/perf/bench: fix misspellings using codespell

2021-03-06 Thread Arnaldo Carvalho de Melo
Em Fri, Mar 05, 2021 at 01:22:12AM -0800, menglong8.d...@gmail.com escreveu:
> From: Xiong Zhenwu 
> 
> $ codespell ./tool/perf/bench
> tools/perf/bench/inject-buildid.c:375: tihs  ==> this 
> 
> Fix a typo found by codespell.

Thanks, applied.

- Arnaldo

 
> Signed-off-by: Xiong Zhenwu 
> ---
>  tools/perf/bench/inject-buildid.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/perf/bench/inject-buildid.c 
> b/tools/perf/bench/inject-buildid.c
> index 280227e3ffd7..55d373b75791 100644
> --- a/tools/perf/bench/inject-buildid.c
> +++ b/tools/perf/bench/inject-buildid.c
> @@ -372,7 +372,7 @@ static int inject_build_id(struct bench_data *data, u64 
> *max_rss)
>   len += synthesize_flush(data);
>   }
>  
> - /* tihs makes the child to finish */
> + /* this makes the child to finish */
>   close(data->input_pipe[1]);
>  
>   wait4(data->pid, , 0, );
> -- 
> 2.25.1
> 

-- 

- Arnaldo


[PATCH] tool/perf/bench: fix misspellings using codespell

2021-03-05 Thread menglong8 . dong
From: Xiong Zhenwu 

$ codespell ./tool/perf/bench
tools/perf/bench/inject-buildid.c:375: tihs  ==> this 

Fix a typo found by codespell.

Signed-off-by: Xiong Zhenwu 
---
 tools/perf/bench/inject-buildid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/bench/inject-buildid.c 
b/tools/perf/bench/inject-buildid.c
index 280227e3ffd7..55d373b75791 100644
--- a/tools/perf/bench/inject-buildid.c
+++ b/tools/perf/bench/inject-buildid.c
@@ -372,7 +372,7 @@ static int inject_build_id(struct bench_data *data, u64 
*max_rss)
len += synthesize_flush(data);
}
 
-   /* tihs makes the child to finish */
+   /* this makes the child to finish */
close(data->input_pipe[1]);
 
wait4(data->pid, , 0, );
-- 
2.25.1