Re: [PATCH v3 bpf 2/3] bpf: Replace [u]int32_t and [u]int64_t in libbpf

2018-07-24 Thread Yonghong Song
On 7/24/18 8:40 AM, Martin KaFai Lau wrote: This patch replaces [u]int32_t and [u]int64_t usage with __[su]32 and __[su]64. The same change goes for [u]int16_t and [u]int8_t. Fixes: 8a138aed4a80 ("bpf: btf: Add BTF support to libbpf") Signed-off-by: Martin KaFai Lau Acked-by: Yonghong

[PATCH v3 bpf 2/3] bpf: Replace [u]int32_t and [u]int64_t in libbpf

2018-07-24 Thread Martin KaFai Lau
This patch replaces [u]int32_t and [u]int64_t usage with __[su]32 and __[su]64. The same change goes for [u]int16_t and [u]int8_t. Fixes: 8a138aed4a80 ("bpf: btf: Add BTF support to libbpf") Signed-off-by: Martin KaFai Lau --- tools/lib/bpf/btf.c| 34 --