diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-05-20 14:49:39 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-05-20 14:49:39 -0700 |
| commit | 70ec81c2e2b4005465ad0d042e90b36087c36104 (patch) | |
| tree | 11b9701a70151c4f250322e3b5c63fd4aa7f0610 /tools/testing/selftests/cgroup/cgroup_util.c | |
| parent | 72ece20127a366518d91c5ab8e9dd8bf7d7fdb2f (diff) | |
| parent | a97853f25b06f71c23b2d7a59fbd40f3f42d55ac (diff) | |
| download | linux-70ec81c2e2b4005465ad0d042e90b36087c36104.tar.gz linux-70ec81c2e2b4005465ad0d042e90b36087c36104.tar.bz2 linux-70ec81c2e2b4005465ad0d042e90b36087c36104.zip | |
Merge tag 'linux_kselftest-next-6.10-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
Pull kselftest fixes from Shuah Khan:
"Revert framework change to add D_GNU_SOURCE to KHDR_INCLUDES to
Makefile, lib.mk, and kselftest_harness.h and follow-on changes to
cgroup and sgx test as they are causing build failures and warnings"
* tag 'linux_kselftest-next-6.10-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
Revert "selftests/cgroup: Drop define _GNU_SOURCE"
Revert "selftests/sgx: Include KHDR_INCLUDES in Makefile"
Revert "selftests: Compile kselftest headers with -D_GNU_SOURCE"
Diffstat (limited to 'tools/testing/selftests/cgroup/cgroup_util.c')
| -rw-r--r-- | tools/testing/selftests/cgroup/cgroup_util.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/testing/selftests/cgroup/cgroup_util.c b/tools/testing/selftests/cgroup/cgroup_util.c index ce16a50ecff8..432db923bced 100644 --- a/tools/testing/selftests/cgroup/cgroup_util.c +++ b/tools/testing/selftests/cgroup/cgroup_util.c @@ -1,4 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0 */ + +#define _GNU_SOURCE + #include <errno.h> #include <fcntl.h> #include <linux/limits.h> |
