Skip to content

Commit

Permalink
Address feedback from Dave Thaler
Browse files Browse the repository at this point in the history
  • Loading branch information
lmb committed Nov 12, 2024
1 parent 105411a commit 630014a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/libbpf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3294,8 +3294,8 @@ TEST_CASE("Map and program information", "[libbpf][bpf]")
REQUIRE(strncmp(map_info.name, map_create.map_name, sizeof(map_info.name)) == 0);

struct ebpf_inst instructions[] = {
{0xb7, R0_RETURN_VALUE, 0}, // r0 = 0
{INST_OP_EXIT}, // return r0
{INST_ALU_OP_MOV | INST_CLS_ALU64, R0_RETURN_VALUE, 0}, // r0 = 0
{INST_OP_EXIT}, // return r0
};

// Load and verify the eBPF program.
Expand Down

0 comments on commit 630014a

Please sign in to comment.