lists.openwall.net | 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 linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <CAADnVQJ2T72Jos4g348ZYO-Up1-hYFYVxmHNA3RsLJL1xRWKog@mail.gmail.com> Date: Thu, 12 Dec 2019 13:48:34 -0800 From: Alexei Starovoitov <alexei.starovoitov@...il.com> To: Martin Lau <kafai@...com> Cc: Andrii Nakryiko <andriin@...com>, "bpf@...r.kernel.org" <bpf@...r.kernel.org>, "netdev@...r.kernel.org" <netdev@...r.kernel.org>, Alexei Starovoitov <ast@...com>, "daniel@...earbox.net" <daniel@...earbox.net>, "andrii.nakryiko@...il.com" <andrii.nakryiko@...il.com>, Kernel Team <Kernel-team@...com> Subject: Re: [PATCH v2 bpf-next] libbpf: fix printf compilation warnings on ppc64le arch On Thu, Dec 12, 2019 at 10:31 AM Martin Lau <kafai@...com> wrote: > > On Thu, Dec 12, 2019 at 09:19:18AM -0800, Andrii Nakryiko wrote: > > On ppc64le __u64 and __s64 are defined as long int and unsigned long int, > > respectively. This causes compiler to emit warning when %lld/%llu are used to > > printf 64-bit numbers. Fix this by casting to size_t/ssize_t with %zu and %zd > > format specifiers, respectively. > Acked-by: Martin KaFai Lau <kafai@...com> Applied. Thanks
Powered by blists - more mailing lists