Commit d8dc09a4 authored by Julia Lawall's avatar Julia Lawall Committed by Daniel Borkmann

bpf, arm: Fix various typos in comments

Various spelling mistakes in comments. Detected with the help of
Coccinelle.
Signed-off-by: default avatarJulia Lawall <Julia.Lawall@inria.fr>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220318103729.157574-9-Julia.Lawall@inria.fr
parent d0f325c3
...@@ -1864,7 +1864,7 @@ static int build_body(struct jit_ctx *ctx) ...@@ -1864,7 +1864,7 @@ static int build_body(struct jit_ctx *ctx)
if (ctx->target == NULL) if (ctx->target == NULL)
ctx->offsets[i] = ctx->idx; ctx->offsets[i] = ctx->idx;
/* If unsuccesfull, return with error code */ /* If unsuccesful, return with error code */
if (ret) if (ret)
return ret; return ret;
} }
...@@ -1973,7 +1973,7 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog) ...@@ -1973,7 +1973,7 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog)
* for jit, although it can decrease the size of the image. * for jit, although it can decrease the size of the image.
* *
* As each arm instruction is of length 32bit, we are translating * As each arm instruction is of length 32bit, we are translating
* number of JITed intructions into the size required to store these * number of JITed instructions into the size required to store these
* JITed code. * JITed code.
*/ */
image_size = sizeof(u32) * ctx.idx; image_size = sizeof(u32) * ctx.idx;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment