Skip to content

Commit

Permalink
Please the lint gods
Browse files Browse the repository at this point in the history
This is one ugly format.
  • Loading branch information
haesbaert committed May 2, 2024
1 parent d95292f commit 4d1de36
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions GPL/Events/EbpfEventProto.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ enum ebpf_varlen_field_type {

// Convenience macro to iterate all the variable length fields in an event
#define FOR_EACH_VARLEN_FIELD(vl_fields_start, cursor) \
cursor = (struct ebpf_varlen_field *)vl_fields_start.data; \
cursor = (struct ebpf_varlen_field *)vl_fields_start.data; \
for (uint32_t __i = 0; __i < vl_fields_start.nfields; \
cursor = (struct ebpf_varlen_field *)((char *)cursor + cursor->size + \
sizeof(struct ebpf_varlen_field)), \
__i++)
cursor = (struct ebpf_varlen_field *)((char *)cursor + cursor->size + \
sizeof(struct ebpf_varlen_field)), \
__i++)

struct ebpf_varlen_fields_start {
uint32_t nfields;
Expand Down

0 comments on commit 4d1de36

Please sign in to comment.