On Wed, Aug 26, 2020 at 9:08 AM Alexei Starovoitov
wrote:
>
> On Tue, Aug 25, 2020 at 08:09:21PM -0700, Andrii Nakryiko wrote:
> > Add __pu64 and __ps64 (sort of like "printf u64 and s64") for
> > libbpf-internal
> > use only in printf-like situations to avoid compilation warnings due to
> > %lld
On Tue, Aug 25, 2020 at 08:09:21PM -0700, Andrii Nakryiko wrote:
> Add __pu64 and __ps64 (sort of like "printf u64 and s64") for libbpf-internal
> use only in printf-like situations to avoid compilation warnings due to
> %lld/%llu mismatch with a __u64/__s64 due to some architecture defining the
>
Add __pu64 and __ps64 (sort of like "printf u64 and s64") for libbpf-internal
use only in printf-like situations to avoid compilation warnings due to
%lld/%llu mismatch with a __u64/__s64 due to some architecture defining the
latter as either `long` or `long long`. Use that on all %lld/%llu cases i