Skip to content

Commit

Permalink
fix(driver/bpf): fixed old bpf probe with clang-18.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
  • Loading branch information
FedeDP authored and poiana committed May 20, 2024
1 parent c357c49 commit f3b0b36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions driver/bpf/fillers.h
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ FILLER(sys_write_x, true)
static __always_inline int bpf_poll_parse_fds(struct filler_data *data,
bool enter_event)
{
unsigned int read_size;
unsigned long read_size;
unsigned int fds_count;
int res = PPM_SUCCESS;
unsigned long nfds;
Expand Down Expand Up @@ -579,7 +579,7 @@ static __always_inline int bpf_parse_readv_writev_bufs(struct filler_data *data,
{
const struct iovec *iov;
int res = PPM_SUCCESS;
unsigned int copylen;
unsigned long copylen;
long size = 0;
int j;

Expand Down

0 comments on commit f3b0b36

Please sign in to comment.