Re: [PATCH bpf-next] [libbpf] remove unnecessary null check in kernel_supports()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This patch was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@xxxxxxxxxxxxx>:

On Wed, 31 Jan 2024 23:26:15 +0200 you wrote:
> After recent changes, Coverity complained about inconsistent null
> checks in kernel_supports() function:
> 
>     kernel_supports(const struct bpf_object *obj, ...)
>     ...
>     // var_compare_op: Comparing obj to null implies that obj might be null
>     if (obj && obj->gen_loader)
>         return true;
> 
> [...]

Here is the summary with links:
  - [bpf-next,libbpf] remove unnecessary null check in kernel_supports()
    https://git.kernel.org/bpf/bpf-next/c/8263b3382d8c

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html






[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux