Re: [PATCH v1 1/4] IPC: Added New system call do_mq_timedreceive2() for non-destructive peek on posix mqueue
From: kernel test robot
Date: Fri Apr 03 2026 - 04:49:19 EST
Hi Mathura_Kumar,
kernel test robot noticed the following build warnings:
[auto build test WARNING on perf-tools-next/perf-tools-next]
[also build test WARNING on tip/perf/core perf-tools/perf-tools linus/master v7.0-rc6 next-20260402]
[cannot apply to acme/perf/core]
[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/IPC-Added-New-system-call-do_mq_timedreceive2-for-non-destructive-peek-on-posix-mqueue/20260315-143134
base: https://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git perf-tools-next
patch link: https://lore.kernel.org/r/20260315040827.156558-2-academic1mathura%40gmail.com
patch subject: [PATCH v1 1/4] IPC: Added New system call do_mq_timedreceive2() for non-destructive peek on posix mqueue
config: parisc-allyesconfig (https://download.01.org/0day-ci/archive/20260403/202604030707.7rWWvONm-lkp@xxxxxxxxx/config)
compiler: hppa-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260403/202604030707.7rWWvONm-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/202604030707.7rWWvONm-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
error: include/uapi/linux/mqueue.h: leak CONFIG_COMPAT to user-space
make[3]: *** [scripts/Makefile.headersinst:63: usr/include/linux/mqueue.h] Error 1
make[3]: Target '__headers' not remade because of errors.
make[2]: *** [Makefile:1431: headers] Error 2
In file included from arch/parisc/kernel/signal32.h:9,
from arch/parisc/kernel/asm-offsets.c:34:
>> include/linux/compat.h:805:65: warning: 'struct compat_mq_timedreceive2_args' declared inside parameter list will not be visible outside of this definition or declaration
805 | asmlinkage long compat_sys_mq_timedreceive2(mqd_t mqdes, struct compat_mq_timedreceive2_args __user *uargs,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:248: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +805 include/linux/compat.h
799
800 #ifdef __ARCH_WANT_COMPAT_SYS_PWRITEV64V2
801 asmlinkage long compat_sys_pwritev64v2(unsigned long fd,
802 const struct iovec __user *vec,
803 unsigned long vlen, loff_t pos, rwf_t flags);
804 #endif
> 805 asmlinkage long compat_sys_mq_timedreceive2(mqd_t mqdes, struct compat_mq_timedreceive2_args __user *uargs,
806 unsigned int flags, unsigned long index,
807 struct old_timespec32 __user *abs_timeout);
808 /*
809 * Deprecated system calls which are still defined in
810 * include/uapi/asm-generic/unistd.h and wanted by >= 1 arch
811 */
812
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki