mbox series

[bpf-next,0/3] libbpf: fix several issues reported by static analysers

Message ID cover.1677658777.git.vmalik@redhat.com (mailing list archive)
Headers show
Series libbpf: fix several issues reported by static analysers | expand

Message

Viktor Malik March 1, 2023, 8:53 a.m. UTC
Fixing several issues reported by Coverity and Clang Static Analyzer
(scan-build) for libbpf, mostly removing unnecessary symbols and
assignments.

No functional changes should be introduced.

Viktor Malik (3):
  libbpf: remove unnecessary ternary operator
  libbpf: remove several dead assignments
  libbpf: cleanup linker_append_elf_relos

 tools/lib/bpf/btf.c       |  2 --
 tools/lib/bpf/libbpf.c    |  3 +--
 tools/lib/bpf/linker.c    | 11 ++---------
 tools/lib/bpf/relo_core.c |  3 ---
 4 files changed, 3 insertions(+), 16 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org March 1, 2023, 7:20 p.m. UTC | #1
Hello:

This series was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:

On Wed,  1 Mar 2023 09:53:52 +0100 you wrote:
> Fixing several issues reported by Coverity and Clang Static Analyzer
> (scan-build) for libbpf, mostly removing unnecessary symbols and
> assignments.
> 
> No functional changes should be introduced.
> 
> Viktor Malik (3):
>   libbpf: remove unnecessary ternary operator
>   libbpf: remove several dead assignments
>   libbpf: cleanup linker_append_elf_relos
> 
> [...]

Here is the summary with links:
  - [bpf-next,1/3] libbpf: remove unnecessary ternary operator
    https://git.kernel.org/bpf/bpf-next/c/40e1bcab1e4c
  - [bpf-next,2/3] libbpf: remove several dead assignments
    https://git.kernel.org/bpf/bpf-next/c/7832d06bd9f9
  - [bpf-next,3/3] libbpf: cleanup linker_append_elf_relos
    https://git.kernel.org/bpf/bpf-next/c/4672129127ee

You are awesome, thank you!