Re: [PATCH 3/3] [PATCH]-This patch series completes the implementation of do_mq_timedreceive2 new system calls that provide non-destructive peek functionality on POSIX message queues

From: kernel test robot

Date: Thu Mar 05 2026 - 00:55:16 EST


Hi Mathura_Kumar,

kernel test robot noticed the following build warnings:

[auto build test WARNING on shuah-kselftest/next]
[also build test WARNING on shuah-kselftest/fixes linus/master v7.0-rc2 next-20260304]
[cannot apply to arnd-asm-generic/master 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/20260305-020107
base: https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git next
patch link: https://lore.kernel.org/r/20260304135126.77270-3-academic1mathura%40gmail.com
patch subject: [PATCH 3/3] [PATCH]-This patch series completes the implementation of do_mq_timedreceive2 new system calls that provide non-destructive peek functionality on POSIX message queues
config: csky-allnoconfig (https://download.01.org/0day-ci/archive/20260305/202603051306.xpnYl8Oz-lkp@xxxxxxxxx/config)
compiler: csky-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260305/202603051306.xpnYl8Oz-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/202603051306.xpnYl8Oz-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

In file included from arch/csky/include/uapi/asm/unistd.h:3,
from arch/csky/include/asm/unistd.h:3,
from <stdin>:2:
>> ./arch/csky/include/generated/uapi/asm/unistd_32.h:352:9: warning: '__NR_mq_timedreceive_time64' redefined
352 | #define __NR_mq_timedreceive_time64 474
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
./arch/csky/include/generated/uapi/asm/unistd_32.h:299:9: note: this is the location of the previous definition
299 | #define __NR_mq_timedreceive_time64 419
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:1634:2: warning: #warning syscall mq_timedreceive2_time64 not implemented [-Wcpp]
--
In file included from arch/csky/include/uapi/asm/unistd.h:3,
from arch/csky/include/asm/unistd.h:3,
from include/uapi/linux/unistd.h:8,
from include/uapi/linux/lsm.h:14,
from include/linux/security.h:36,
from include/net/scm.h:9,
from include/linux/netlink.h:9,
from include/uapi/linux/neighbour.h:6,
from include/linux/netdevice.h:44,
from drivers/base/core.c:24:
>> ./arch/csky/include/generated/uapi/asm/unistd_32.h:352:9: warning: '__NR_mq_timedreceive_time64' redefined
352 | #define __NR_mq_timedreceive_time64 474
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
./arch/csky/include/generated/uapi/asm/unistd_32.h:299:9: note: this is the location of the previous definition
299 | #define __NR_mq_timedreceive_time64 419
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
--
In file included from arch/csky/include/uapi/asm/unistd.h:3,
from arch/csky/include/asm/unistd.h:3,
from include/uapi/linux/unistd.h:8,
from include/linux/syscalls.h:91,
from include/linux/syscalls_api.h:1,
from kernel/sched/sched.h:64,
from kernel/sched/rq-offsets.c:5:
>> ./arch/csky/include/generated/uapi/asm/unistd_32.h:352:9: warning: '__NR_mq_timedreceive_time64' redefined
352 | #define __NR_mq_timedreceive_time64 474
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
./arch/csky/include/generated/uapi/asm/unistd_32.h:299:9: note: this is the location of the previous definition
299 | #define __NR_mq_timedreceive_time64 419
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/syscalls.h:751:42: warning: 'struct mq_timedreceive2_args' declared inside parameter list will not be visible outside of this definition or declaration
751 | sys_mq_timedreceive2(mqd_t mqdes, struct mq_timedreceive2_args __user *uargs,
| ^~~~~~~~~~~~~~~~~~~~~
include/linux/syscalls.h:756:36: warning: 'struct mq_timedreceive2_args' declared inside parameter list will not be visible outside of this definition or declaration
756 | struct mq_timedreceive2_args __user *uargs,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from arch/csky/include/uapi/asm/unistd.h:3,
from arch/csky/include/asm/unistd.h:3,
from <stdin>:2:
>> ./arch/csky/include/generated/uapi/asm/unistd_32.h:352:9: warning: '__NR_mq_timedreceive_time64' redefined
352 | #define __NR_mq_timedreceive_time64 474
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
./arch/csky/include/generated/uapi/asm/unistd_32.h:299:9: note: this is the location of the previous definition
299 | #define __NR_mq_timedreceive_time64 419
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:1634:2: warning: #warning syscall mq_timedreceive2_time64 not implemented [-Wcpp]

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