Re: [PATCH v2] bpftool: fix -Wcast-qual warning

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

 



Hello:

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

On Thu,  7 Sep 2023 02:02:10 -0700 you wrote:
> This cast was made by purpose for older libbpf where the
> bpf_object_skeleton field is void * instead of const void *
> to eliminate a warning (as i understand
> -Wincompatible-pointer-types-discards-qualifiers) but this
> cast introduces another warning (-Wcast-qual) for libbpf
> where data field is const void *
> 
> [...]

Here is the summary with links:
  - [v2] bpftool: fix -Wcast-qual warning
    https://git.kernel.org/bpf/bpf-next/c/52f8e1648394

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