public inbox for linux-arch@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Mathura_Kumar <academic1mathura@gmail.com>, brauner@kernel.org
Cc: oe-kbuild-all@lists.linux.dev, academic1mathura@gmail.com,
	linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org,
	viro@zeniv.linux.org.uk
Subject: 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
Date: Thu, 5 Mar 2026 16:10:49 +0800	[thread overview]
Message-ID: <202603051551.UzHTmDax-lkp@intel.com> (raw)
In-Reply-To: <20260304135126.77270-3-academic1mathura@gmail.com>

Hi Mathura_Kumar,

kernel test robot noticed the following build errors:

[auto build test ERROR on shuah-kselftest/next]
[also build test ERROR 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: riscv-randconfig-r072-20260305 (https://download.01.org/0day-ci/archive/20260305/202603051551.UzHTmDax-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 15.2.0
smatch: v0.5.0-9004-gb810ac53
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260305/202603051551.UzHTmDax-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202603051551.UzHTmDax-lkp@intel.com/

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

>> ./arch/riscv/include/generated/asm/syscall_table_32.h:475:11: error: array index in initializer exceeds array bounds
     475 | __SYSCALL(474, sys_mq_timedreceive2)
         |           ^~~
   arch/riscv/kernel/compat_syscall_table.c:18:35: note: in definition of macro '__SYSCALL'
      18 | #define __SYSCALL(nr, call)      [nr] = __riscv_##call,
         |                                   ^~
   ./arch/riscv/include/generated/asm/syscall_table_32.h:475:11: note: (near initialization for 'compat_sys_call_table')
     475 | __SYSCALL(474, sys_mq_timedreceive2)
         |           ^~~
   arch/riscv/kernel/compat_syscall_table.c:18:35: note: in definition of macro '__SYSCALL'
      18 | #define __SYSCALL(nr, call)      [nr] = __riscv_##call,
         |                                   ^~
>> arch/riscv/kernel/compat_syscall_table.c:18:41: warning: excess elements in array initializer
      18 | #define __SYSCALL(nr, call)      [nr] = __riscv_##call,
         |                                         ^~~~~~~~
   ./arch/riscv/include/generated/asm/syscall_table_32.h:475:1: note: in expansion of macro '__SYSCALL'
     475 | __SYSCALL(474, sys_mq_timedreceive2)
         | ^~~~~~~~~
   arch/riscv/kernel/compat_syscall_table.c:18:41: note: (near initialization for 'compat_sys_call_table')
      18 | #define __SYSCALL(nr, call)      [nr] = __riscv_##call,
         |                                         ^~~~~~~~
   ./arch/riscv/include/generated/asm/syscall_table_32.h:475:1: note: in expansion of macro '__SYSCALL'
     475 | __SYSCALL(474, sys_mq_timedreceive2)
         | ^~~~~~~~~
--
   In file included from arch/riscv/include/uapi/asm/unistd.h:22,
                    from arch/riscv/include/asm/unistd.h:27,
                    from arch/riscv/kernel/compat_vdso/../vdso/flush_icache.S:7,
                    from arch/riscv/kernel/compat_vdso/flush_icache.S:3:
>> ./arch/riscv/include/generated/uapi/asm/unistd_32.h:322:9: warning: '__NR_mq_timedreceive_time64' redefined
     322 | #define __NR_mq_timedreceive_time64 474
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   ./arch/riscv/include/generated/uapi/asm/unistd_32.h:269:9: note: this is the location of the previous definition
     269 | #define __NR_mq_timedreceive_time64 419
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from arch/riscv/include/uapi/asm/unistd.h:22,
                    from arch/riscv/include/asm/unistd.h:27,
                    from arch/riscv/kernel/compat_vdso/../vdso/getcpu.S:7,
                    from arch/riscv/kernel/compat_vdso/getcpu.S:3:
>> ./arch/riscv/include/generated/uapi/asm/unistd_32.h:322:9: warning: '__NR_mq_timedreceive_time64' redefined
     322 | #define __NR_mq_timedreceive_time64 474
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   ./arch/riscv/include/generated/uapi/asm/unistd_32.h:269:9: note: this is the location of the previous definition
     269 | #define __NR_mq_timedreceive_time64 419
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from arch/riscv/include/uapi/asm/unistd.h:22,
                    from arch/riscv/include/asm/unistd.h:27,
                    from arch/riscv/kernel/compat_vdso/../vdso/rt_sigreturn.S:7,
                    from arch/riscv/kernel/compat_vdso/rt_sigreturn.S:3:
>> ./arch/riscv/include/generated/uapi/asm/unistd_32.h:322:9: warning: '__NR_mq_timedreceive_time64' redefined
     322 | #define __NR_mq_timedreceive_time64 474
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   ./arch/riscv/include/generated/uapi/asm/unistd_32.h:269:9: note: this is the location of the previous definition
     269 | #define __NR_mq_timedreceive_time64 419
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  parent reply	other threads:[~2026-03-05  8:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-04 13:51 [PATCH 1/3] mqueue: introduce new do_mq_timedreceive2() [ mq_peek syscall] for non-destructive receive and inspection Mathura_Kumar
2026-03-04 13:51 ` [PATCH 2/3] [PATCH-V2] " Mathura_Kumar
2026-03-04 13:51 ` [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 Mathura_Kumar
2026-03-05  5:49   ` kernel test robot
2026-03-05  5:51   ` kernel test robot
2026-03-05  8:10   ` kernel test robot [this message]
2026-03-04 18:24 ` [PATCH 1/3] mqueue: introduce new do_mq_timedreceive2() [ mq_peek syscall] for non-destructive receive and inspection Randy Dunlap
2026-03-05  5:09 ` kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202603051551.UzHTmDax-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=academic1mathura@gmail.com \
    --cc=brauner@kernel.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox