[PATCH 5/7] v2: Fix typos

Shahab Vahedi list+bpf at vahedi.org
Tue Apr 30 08:09:35 PDT 2024


From: Shahab Vahedi <shahab at synopsys.com>

---
 arch/arc/net/bpf_jit_core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arc/net/bpf_jit_core.c b/arch/arc/net/bpf_jit_core.c
index 9c0fdd514967..6692272fa1ac 100644
--- a/arch/arc/net/bpf_jit_core.c
+++ b/arch/arc/net/bpf_jit_core.c
@@ -9,7 +9,7 @@
 #include "bpf_jit.h"
 
 /*
- * Check for the return value. A pattern used oftenly in this file.
+ * Check for the return value. A pattern used often in this file.
  * There must be a "ret" variable of type "int" in the scope.
  */
 #define CHECK_RET(cmd)			\
@@ -1344,7 +1344,7 @@ static struct bpf_prog *do_normal_pass(struct bpf_prog *prog)
 		return prog;
 	}
 
-	/* Get the lenghts and allocate buffer. */
+	/* Get the lengths and allocate buffer. */
 	if (jit_prepare(&ctx)) {
 		jit_ctx_cleanup(&ctx);
 		return prog;
-- 
2.35.8




More information about the linux-snps-arc mailing list