Skip to content

Commit c692d00

Browse files
committed
Fix const for ARM builds
1 parent b5ec510 commit c692d00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ebpf/mem.ebpf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ struct {
4040
* Returns 0 on success or parameter validation failure, and -1 if the BPF map is unavailable.
4141
* Return also a specific error code in the map.
4242
*/
43-
static int inline read_memory(const __u64 address, const __u64 dump_size) {
43+
static int inline read_memory(__u64 address, const __u64 dump_size) {
4444
/* Get the map in which save the memory content to pass to userspace */
4545
int key = 0;
4646
struct read_mem_result *read_mem_result = bpf_map_lookup_elem(&read_mem_array_map, &key);

0 commit comments

Comments
 (0)