[intel-tdx:kvm-upstream-workaround 135/314] memfd_test.c:1025:34: error: 'F_SEAL_AUTO_ALLOCATE' undeclared

From: kernel test robot
Date: Mon Sep 19 2022 - 09:25:57 EST


tree: https://github.com/intel/tdx.git kvm-upstream-workaround
head: 552dd80c48f67ca01bcdd10667e0c11efd375177
commit: 6fc2c0d90c42ad750192a03cdf03d78befd0d8ce [135/314] selftests/memfd: Add tests for F_SEAL_AUTO_ALLOCATE
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce:
# https://github.com/intel/tdx/commit/6fc2c0d90c42ad750192a03cdf03d78befd0d8ce
git remote add intel-tdx https://github.com/intel/tdx.git
git fetch --no-tags intel-tdx kvm-upstream-workaround
git checkout 6fc2c0d90c42ad750192a03cdf03d78befd0d8ce
make O=/tmp/kselftest headers
make O=/tmp/kselftest -C tools/testing/selftests

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

memfd_test.c: In function 'test_seal_auto_allocate':
>> memfd_test.c:1025:34: error: 'F_SEAL_AUTO_ALLOCATE' undeclared (first use in this function)
1025 | mfd_assert_add_seals(fd, F_SEAL_AUTO_ALLOCATE);
| ^~~~~~~~~~~~~~~~~~~~
memfd_test.c:1025:34: note: each undeclared identifier is reported only once for each function it appears in

--
0-DAY CI Kernel Test Service
https://01.org/lkp