lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 26 Aug 2020 22:14:30 -0700
From:   Alexei Starovoitov <>
To:     Andrii Nakryiko <>
Cc:     bpf <>,
        Network Development <>,
        Alexei Starovoitov <>,
        Daniel Borkmann <>,
        Andrii Nakryiko <>,
        Kernel Team <>,
        Naresh Kamboju <>
Subject: Re: [PATCH v2 bpf-next] libbpf: fix compilation warnings for 64-bit
 printf args

On Wed, Aug 26, 2020 at 9:13 PM Andrii Nakryiko <> wrote:
> Fix compilation warnings due to __u64 defined differently as `unsigned long`
> or `unsigned long long` on different architectures (e.g., ppc64le differs from
> x86-64). Also cast one argument to size_t to fix printf warning of similar
> nature.
> Reported-by: Naresh Kamboju <>
> Fixes: eacaaed784e2 ("libbpf: Implement enum value-based CO-RE relocations")
> Fixes: 50e09460d9f8 ("libbpf: Skip well-known ELF sections when iterating ELF")
> Signed-off-by: Andrii Nakryiko <>

Applied. Thanks

Powered by blists - more mailing lists