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 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