From e01d6c580f1f17369fc1e018fb9bb009645fe2eb Mon Sep 17 00:00:00 2001 From: JPaja Date: Fri, 17 Oct 2025 00:56:01 +0200 Subject: [PATCH] Fix clippy lint --- test/integration-ebpf/src/map_test.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/integration-ebpf/src/map_test.rs b/test/integration-ebpf/src/map_test.rs index 4728ca05..0135487a 100644 --- a/test/integration-ebpf/src/map_test.rs +++ b/test/integration-ebpf/src/map_test.rs @@ -38,15 +38,15 @@ fn simple_prog(_ctx: SkBuffContext) -> i64 { #[uprobe] fn simple_prog_mut(_ctx: ProbeContext) -> i64 { - if let Some(foo) = FOO.get_ptr_mut(0) { + if let Some(array_value) = FOO.get_ptr_mut(0) { unsafe { - *foo += 1; + *array_value += 1; } } - if let Some(baz) = BAZ.get_ptr_mut(0) { + if let Some(map_value) = BAZ.get_ptr_mut(0) { unsafe { - *baz += 1; + *map_value += 1; } }