]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Replace [u]int32_t and [u]int64_t in libbpf
authorMartin KaFai Lau <kafai@fb.com>
Tue, 24 Jul 2018 15:40:21 +0000 (08:40 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 25 Jul 2018 04:57:55 +0000 (06:57 +0200)
commit97ba1749ab72caf319941cfefe175277393c6362
tree9710ef3659b4eddc8d1ab40ae5c7ddd177387f16
parent59be79e21c7f004e4c82e6f49ace8a64d01fefbf
bpf: Replace [u]int32_t and [u]int64_t in libbpf

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: bbba3084eaf0 ("bpf: btf: Add BTF support to libbpf")
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/lib/bpf/btf.c
tools/lib/bpf/btf.h
tools/lib/bpf/libbpf.c
tools/lib/bpf/libbpf.h