Re: [PATCH] mqueue: introduce new do_mq_timedreceive2() [ mq_peek syscall] for non-destructive receive and inspection

From: kernel test robot

Date: Thu Feb 26 2026 - 15:46:50 EST


Hi Mathura_Kumar,

kernel test robot noticed the following build errors:

[auto build test ERROR on brauner-vfs/vfs.all]
[also build test ERROR on linus/master v7.0-rc1 next-20260226]
[cannot apply to shuah-kselftest/next shuah-kselftest/fixes tip/x86/asm]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Mathura_Kumar/mqueue-introduce-new-do_mq_timedreceive2-mq_peek-syscall-for-non-destructive-receive-and-inspection/20260227-021340
base: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git vfs.all
patch link: https://lore.kernel.org/r/20260226174010.118080-1-academic1mathura%40gmail.com
patch subject: [PATCH] mqueue: introduce new do_mq_timedreceive2() [ mq_peek syscall] for non-destructive receive and inspection
config: um-allnoconfig (https://download.01.org/0day-ci/archive/20260227/202602270443.k6N6t2u4-lkp@xxxxxxxxx/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 9a109fbb6e184ec9bcce10615949f598f4c974a9)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260227/202602270443.k6N6t2u4-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202602270443.k6N6t2u4-lkp@xxxxxxxxx/

All error/warnings (new ones prefixed by >>):

In file included from kernel/sched/rq-offsets.c:5:
In file included from kernel/sched/sched.h:64:
In file included from include/linux/syscalls_api.h:1:
>> include/linux/syscalls.h:750:42: warning: declaration of 'struct mq_timedreceive2_args' will not be visible outside of this function [-Wvisibility]
750 | sys_mq_timedreceive2(mqd_t mqdes, struct mq_timedreceive2_args __user *uargs,
| ^
include/linux/syscalls.h:755:15: warning: declaration of 'struct mq_timedreceive2_args' will not be visible outside of this function [-Wvisibility]
755 | struct mq_timedreceive2_args __user *uargs,
| ^
2 warnings generated.
--
/usr/bin/ld: warning: .tmp_vmlinux1 has a LOAD segment with RWX permissions
>> /usr/bin/ld: arch/x86/um/sys_call_table_32.o:(.rodata+0x760): undefined reference to `sys_mq_timedreceive2_time32'
>> /usr/bin/ld: arch/x86/um/sys_call_table_32.o:(.rodata+0x764): undefined reference to `sys_mq_timedreceive2'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
--
In file included from kernel/sched/rq-offsets.c:5:
In file included from kernel/sched/sched.h:64:
In file included from include/linux/syscalls_api.h:1:
>> include/linux/syscalls.h:750:42: warning: declaration of 'struct mq_timedreceive2_args' will not be visible outside of this function [-Wvisibility]
750 | sys_mq_timedreceive2(mqd_t mqdes, struct mq_timedreceive2_args __user *uargs,
| ^
include/linux/syscalls.h:755:15: warning: declaration of 'struct mq_timedreceive2_args' will not be visible outside of this function [-Wvisibility]
755 | struct mq_timedreceive2_args __user *uargs,
| ^
2 warnings generated.

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki