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

From: Arnaldo Carvalho de Melo
Date: Sat Mar 06 2021 - 08:38:33 EST


Em Fri, Mar 05, 2021 at 01:22:12AM -0800, menglong8.dong@xxxxxxxxx escreveu:
> From: Xiong Zhenwu <xiong.zhenwu@xxxxxxxxxx>
>
> $ 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 <xiong.zhenwu@xxxxxxxxxx>
> ---
> 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, &status, 0, &rusage);
> --
> 2.25.1
>

--

- Arnaldo