]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/seccomp: Use __BYTE_ORDER__
authorIlya Leoshkevich <iii@linux.ibm.com>
Tue, 26 Oct 2021 01:08:30 +0000 (03:08 +0200)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 26 Oct 2021 03:39:42 +0000 (20:39 -0700)
commit844999d9158e1a9abd466a3275643f8c98c633e3
treedb26faec8900b08b3b414e991f9be77811e148d0
parent8dcd7493b5d02e5288c133e4ca63c45355db4d84
selftests/seccomp: Use __BYTE_ORDER__

Use the compiler-defined __BYTE_ORDER__ instead of the libc-defined
__BYTE_ORDER for consistency.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211026010831.748682-6-iii@linux.ibm.com
tools/testing/selftests/seccomp/seccomp_bpf.c