[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAADnVQ+jE8iUqB4mdPA58JQmNow08LGFkemC2BbTb+TYvJ2K1w@mail.gmail.com>
Date: Wed, 26 Aug 2020 22:14:30 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Andrii Nakryiko <andriin@...com>
Cc: bpf <bpf@...r.kernel.org>,
Network Development <netdev@...r.kernel.org>,
Alexei Starovoitov <ast@...com>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii.nakryiko@...il.com>,
Kernel Team <kernel-team@...com>,
Naresh Kamboju <naresh.kamboju@...aro.org>
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 <andriin@...com> 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 <naresh.kamboju@...aro.org>
> 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 <andriin@...com>
Applied. Thanks
Powered by blists - more mailing lists