aboutsummaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorSachin Sant <sachinp@linux.vnet.ibm.com>2020-11-06 13:10:06 +0530
committerShuah Khan <skhan@linuxfoundation.org>2020-11-10 15:13:25 -0700
commitc2e46f6b3e3551558d44c4dc518b9667cb0d5f8b (patch)
tree65206eb07fea969353787cfe708262b5d4d7c8ec /Kbuild
parentselftests/run_kselftest.sh: fix dry-run typo (diff)
downloadlinux-dev-c2e46f6b3e3551558d44c4dc518b9667cb0d5f8b.tar.xz
linux-dev-c2e46f6b3e3551558d44c4dc518b9667cb0d5f8b.zip
selftests/cgroup: Fix build on older distros
On older distros struct clone_args does not have a cgroup member, leading to build errors: cgroup_util.c: In function 'clone_into_cgroup': cgroup_util.c:343:4: error: 'struct clone_args' has no member named 'cgroup' cgroup_util.c:346:33: error: invalid application of 'sizeof' to incomplete type 'struct clone_args' But the selftests already have a locally defined version of the structure which is up to date, called __clone_args. So use __clone_args which fixes the error. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Sachin Sant <sachinp@linux.vnet.ibm.com>> Acked-by: Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions