summaryrefslogtreecommitdiff
path: root/crypto/aegis256.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-07-19 11:34:06 -0300
committerDaniel Borkmann <daniel@iogearbox.net>2019-07-22 16:14:43 +0200
commitcdb2f9207109c9c858277fde8b7dc1445b9f952e (patch)
tree7aae0e89a9189bf0782cf665a63ae4cca0c158dc /crypto/aegis256.c
parent57ebc6230f060fd467fd5fd4552de5ebc40cb48c (diff)
libbpf: Fix endianness macro usage for some compilers
Using endian.h and its endianness macros makes this code build in a wider range of compilers, as some don't have those macros (__BYTE_ORDER__, __ORDER_LITTLE_ENDIAN__, __ORDER_BIG_ENDIAN__), so use instead endian.h's macros (__BYTE_ORDER, __LITTLE_ENDIAN, __BIG_ENDIAN) which makes this code even shorter :-) Acked-by: Andrii Nakryiko <andriin@fb.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexei Starovoitov <ast@kernel.org> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Fixes: 12ef5634a855 ("libbpf: simplify endianness check") Fixes: e6c64855fd7a ("libbpf: add btf__parse_elf API to load .BTF and .BTF.ext") Link: https://lkml.kernel.org/n/tip-eep5n8vgwcdphw3uc058k03u@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'crypto/aegis256.c')
0 files changed, 0 insertions, 0 deletions