BPF List
 help / color / mirror / Atom feed
* [PATCH bpf-next V2 0/3] Fix compiler warnings, looking for suggestions
@ 2024-06-15  2:24 Rafael Passos
  2024-06-15  2:24 ` [PATCH bpf-next V2 1/3] bpf: remove unused parameter in bpf_jit_binary_pack_finalize Rafael Passos
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Rafael Passos @ 2024-06-15  2:24 UTC (permalink / raw)
  To: andrii, ast, bjorn, bp, daniel, davem, dsahern, mingo, puranjay,
	tglx, will, xi.wang
  Cc: Rafael Passos, bpf

Hi,
This patchset has a few fixes to compiler warnings.
I am studying the BPF subsystem and wish to bring more tangible contributions.
I would appreciate receiving suggestions on things to investigate.
I also documented a bit in my blog. I could help with docs here, too.
https://rcpassos.me/post/linux-ebpf-understanding-kernel-level-mechanics
Thanks!

Changelog V1 -> V2:
- rebased all commits to updated for-next base
- removes new cases of the extra parameter for bpf_jit_binary_pack_finalize
- built and tested for ARM64
- sent the series for the test workflow:
  https://github.com/kernel-patches/bpf/pull/7198


Rafael Passos (3):
  bpf: remove unused parameter in bpf_jit_binary_pack_finalize
  bpf: remove unused parameter in __bpf_free_used_btfs
  bpf: remove redeclaration of new_n in bpf_verifier_vlog

 arch/arm64/net/bpf_jit_comp.c   | 3 +--
 arch/powerpc/net/bpf_jit_comp.c | 4 ++--
 arch/riscv/net/bpf_jit_core.c   | 5 ++---
 arch/x86/net/bpf_jit_comp.c     | 4 ++--
 include/linux/bpf.h             | 3 +--
 include/linux/filter.h          | 3 +--
 kernel/bpf/core.c               | 8 +++-----
 kernel/bpf/log.c                | 2 +-
 kernel/bpf/verifier.c           | 3 +--
 9 files changed, 14 insertions(+), 21 deletions(-)

-- 
2.45.2


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-06-21  3:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-15  2:24 [PATCH bpf-next V2 0/3] Fix compiler warnings, looking for suggestions Rafael Passos
2024-06-15  2:24 ` [PATCH bpf-next V2 1/3] bpf: remove unused parameter in bpf_jit_binary_pack_finalize Rafael Passos
2024-06-15  2:24 ` [PATCH bpf-next V2 2/3] bpf: remove unused parameter in __bpf_free_used_btfs Rafael Passos
2024-06-15  2:24 ` [PATCH bpf-next V2 3/3] bpf: remove redeclaration of new_n in bpf_verifier_vlog Rafael Passos
2024-06-17  8:45 ` [PATCH bpf-next V2 0/3] Fix compiler warnings, looking for suggestions Jiri Olsa
2024-06-18  2:34   ` Rafael Passos
2024-06-18 14:20 ` Puranjay Mohan
2024-06-21  3:00 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox