Skip to content

Commit 2f1aaa4

Browse files
committed
Fix typos
1 parent 0f6971b commit 2f1aaa4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pythonbpf/helper/bpf_helper_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def bpf_map_lookup_elem_emitter(
7171
)
7272
map_void_ptr = builder.bitcast(map_ptr, ir.PointerType())
7373

74-
# TODO: I have changed the return typr to i64*, as we are
74+
# TODO: I have changed the return type to i64*, as we are
7575
# allocating space for that type in allocate_mem. This is
7676
# temporary, and we will honour other widths later. But this
7777
# allows us to have cool binary ops on the returned value.

tests/passing_tests/assign/comprehensive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# NOTE: This is a comprehensive test combining struct, helper, and map features
88
# Please note that at line 50, though we have used an absurd expression to test
9-
# the comiler, it is recommended to used named variables to reduce the amount of
9+
# the compiler, it is recommended to use named variables to reduce the amount of
1010
# scratch space that needs to be allocated.
1111

1212
@bpf

0 commit comments

Comments
 (0)