[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202301170438.2QJF4srx-lkp@intel.com>
Date: Tue, 17 Jan 2023 04:10:23 +0800
From: kernel test robot <lkp@...el.com>
To: Michal Clapinski <mclapinski@...gle.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
x86@...nel.org, Ingo Molnar <mingo@...nel.org>
Subject: [tip:sched/core 7/7] membarrier_test_impl.h:27:30: error:
'MEMBARRIER_CMD_GET_REGISTRATIONS' undeclared
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/core
head: 79ba1e607d68178db7d3fe4f6a4aa38f06805e7b
commit: d74f87f37672e71457bfcc14eca5eeb1d61b6438 [7/7] selftests/membarrier: Test MEMBARRIER_CMD_GET_REGISTRATIONS
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce:
# https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=d74f87f37672e71457bfcc14eca5eeb1d61b6438
git remote add tip https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
git fetch --no-tags tip sched/core
git checkout d74f87f37672e71457bfcc14eca5eeb1d61b6438
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@...el.com>
All errors (new ones prefixed by >>):
In file included from membarrier_test_single_thread.c:10:
membarrier_test_impl.h: In function 'test_membarrier_get_registrations':
>> membarrier_test_impl.h:27:30: error: 'MEMBARRIER_CMD_GET_REGISTRATIONS' undeclared (first use in this function)
27 | ret = sys_membarrier(MEMBARRIER_CMD_GET_REGISTRATIONS, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
membarrier_test_impl.h:27:30: note: each undeclared identifier is reported only once for each function it appears in
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
View attachment "config" of type "text/plain" (152530 bytes)
Powered by blists - more mailing lists