Re: [PATCH] libbpf: fix typo in comment

From: Daniel Müller
Date: Mon May 23 2022 - 12:33:11 EST


On Sat, May 21, 2022 at 01:11:21PM +0200, Julia Lawall wrote:
> Spelling mistake (triple letters) in comment.
> Detected with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@xxxxxxxx>
>
> ---
> tools/lib/bpf/libbpf.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c
> index ef7f302e542f..e89cc9c885b3 100644
> --- a/tools/lib/bpf/libbpf.c
> +++ b/tools/lib/bpf/libbpf.c
> @@ -6873,7 +6873,7 @@ static int bpf_object_load_prog_instance(struct bpf_object *obj, struct bpf_prog
> }
>
> retry_load:
> - /* if log_level is zero, we don't request logs initiallly even if
> + /* if log_level is zero, we don't request logs initially even if
> * custom log_buf is specified; if the program load fails, then we'll
> * bump log_level to 1 and use either custom log_buf or we'll allocate
> * our own and retry the load to get details on what failed
>

Looks good to me, thanks!

Acked-by: Daniel Müller <deso@xxxxxxxxxx>