From: kernel test robot <lkp@intel.com>
To: Miklos Szeredi <mszeredi@redhat.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-unionfs@vger.kernel.org
Subject: [mszeredi-vfs:statmount-v4 6/6] arch/arm64/kernel/sys32.c:130:40: warning: excess elements in array initializer
Date: Thu, 26 Oct 2023 21:38:42 +0800 [thread overview]
Message-ID: <202310262126.LBc6mDHi-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git statmount-v4
head: 6b10e0e8daeb6fcbc706a7e1e30c7e48243ffb88
commit: 6b10e0e8daeb6fcbc706a7e1e30c7e48243ffb88 [6/6] wire up syscalls for statmount/listmount
config: arm64-randconfig-004-20231026 (https://download.01.org/0day-ci/archive/20231026/202310262126.LBc6mDHi-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231026/202310262126.LBc6mDHi-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/202310262126.LBc6mDHi-lkp@intel.com/
All warnings (new ones prefixed by >>):
| ^~~~~~~~
arch/arm64/include/asm/unistd32.h:901:1: note: in expansion of macro '__SYSCALL'
901 | __SYSCALL(__NR_landlock_add_rule, sys_landlock_add_rule)
| ^~~~~~~~~
arch/arm64/kernel/sys32.c:130:40: note: (near initialization for 'compat_sys_call_table[445]')
130 | #define __SYSCALL(nr, sym) [nr] = __arm64_##sym,
| ^~~~~~~~
arch/arm64/include/asm/unistd32.h:901:1: note: in expansion of macro '__SYSCALL'
901 | __SYSCALL(__NR_landlock_add_rule, sys_landlock_add_rule)
| ^~~~~~~~~
arch/arm64/kernel/sys32.c:130:40: warning: initialized field overwritten [-Woverride-init]
130 | #define __SYSCALL(nr, sym) [nr] = __arm64_##sym,
| ^~~~~~~~
arch/arm64/include/asm/unistd32.h:903:1: note: in expansion of macro '__SYSCALL'
903 | __SYSCALL(__NR_landlock_restrict_self, sys_landlock_restrict_self)
| ^~~~~~~~~
arch/arm64/kernel/sys32.c:130:40: note: (near initialization for 'compat_sys_call_table[446]')
130 | #define __SYSCALL(nr, sym) [nr] = __arm64_##sym,
| ^~~~~~~~
arch/arm64/include/asm/unistd32.h:903:1: note: in expansion of macro '__SYSCALL'
903 | __SYSCALL(__NR_landlock_restrict_self, sys_landlock_restrict_self)
| ^~~~~~~~~
arch/arm64/kernel/sys32.c:130:40: warning: initialized field overwritten [-Woverride-init]
130 | #define __SYSCALL(nr, sym) [nr] = __arm64_##sym,
| ^~~~~~~~
arch/arm64/include/asm/unistd32.h:905:1: note: in expansion of macro '__SYSCALL'
905 | __SYSCALL(__NR_process_mrelease, sys_process_mrelease)
| ^~~~~~~~~
arch/arm64/kernel/sys32.c:130:40: note: (near initialization for 'compat_sys_call_table[448]')
130 | #define __SYSCALL(nr, sym) [nr] = __arm64_##sym,
| ^~~~~~~~
arch/arm64/include/asm/unistd32.h:905:1: note: in expansion of macro '__SYSCALL'
905 | __SYSCALL(__NR_process_mrelease, sys_process_mrelease)
| ^~~~~~~~~
arch/arm64/kernel/sys32.c:130:40: warning: initialized field overwritten [-Woverride-init]
130 | #define __SYSCALL(nr, sym) [nr] = __arm64_##sym,
| ^~~~~~~~
arch/arm64/include/asm/unistd32.h:907:1: note: in expansion of macro '__SYSCALL'
907 | __SYSCALL(__NR_futex_waitv, sys_futex_waitv)
| ^~~~~~~~~
arch/arm64/kernel/sys32.c:130:40: note: (near initialization for 'compat_sys_call_table[449]')
130 | #define __SYSCALL(nr, sym) [nr] = __arm64_##sym,
| ^~~~~~~~
arch/arm64/include/asm/unistd32.h:907:1: note: in expansion of macro '__SYSCALL'
907 | __SYSCALL(__NR_futex_waitv, sys_futex_waitv)
| ^~~~~~~~~
arch/arm64/kernel/sys32.c:130:40: warning: initialized field overwritten [-Woverride-init]
130 | #define __SYSCALL(nr, sym) [nr] = __arm64_##sym,
| ^~~~~~~~
arch/arm64/include/asm/unistd32.h:909:1: note: in expansion of macro '__SYSCALL'
909 | __SYSCALL(__NR_set_mempolicy_home_node, sys_set_mempolicy_home_node)
| ^~~~~~~~~
arch/arm64/kernel/sys32.c:130:40: note: (near initialization for 'compat_sys_call_table[450]')
130 | #define __SYSCALL(nr, sym) [nr] = __arm64_##sym,
| ^~~~~~~~
arch/arm64/include/asm/unistd32.h:909:1: note: in expansion of macro '__SYSCALL'
909 | __SYSCALL(__NR_set_mempolicy_home_node, sys_set_mempolicy_home_node)
| ^~~~~~~~~
arch/arm64/kernel/sys32.c:130:40: warning: initialized field overwritten [-Woverride-init]
130 | #define __SYSCALL(nr, sym) [nr] = __arm64_##sym,
| ^~~~~~~~
arch/arm64/include/asm/unistd32.h:911:1: note: in expansion of macro '__SYSCALL'
911 | __SYSCALL(__NR_cachestat, sys_cachestat)
| ^~~~~~~~~
arch/arm64/kernel/sys32.c:130:40: note: (near initialization for 'compat_sys_call_table[451]')
130 | #define __SYSCALL(nr, sym) [nr] = __arm64_##sym,
| ^~~~~~~~
arch/arm64/include/asm/unistd32.h:911:1: note: in expansion of macro '__SYSCALL'
911 | __SYSCALL(__NR_cachestat, sys_cachestat)
| ^~~~~~~~~
arch/arm64/kernel/sys32.c:130:40: warning: initialized field overwritten [-Woverride-init]
130 | #define __SYSCALL(nr, sym) [nr] = __arm64_##sym,
| ^~~~~~~~
arch/arm64/include/asm/unistd32.h:913:1: note: in expansion of macro '__SYSCALL'
913 | __SYSCALL(__NR_fchmodat2, sys_fchmodat2)
| ^~~~~~~~~
arch/arm64/kernel/sys32.c:130:40: note: (near initialization for 'compat_sys_call_table[452]')
130 | #define __SYSCALL(nr, sym) [nr] = __arm64_##sym,
| ^~~~~~~~
arch/arm64/include/asm/unistd32.h:913:1: note: in expansion of macro '__SYSCALL'
913 | __SYSCALL(__NR_fchmodat2, sys_fchmodat2)
| ^~~~~~~~~
arch/arm64/include/asm/unistd32.h:914:24: error: array index in initializer exceeds array bounds
914 | #define __NR_statmount 454
| ^~~
arch/arm64/kernel/sys32.c:130:34: note: in definition of macro '__SYSCALL'
130 | #define __SYSCALL(nr, sym) [nr] = __arm64_##sym,
| ^~
arch/arm64/include/asm/unistd32.h:915:11: note: in expansion of macro '__NR_statmount'
915 | __SYSCALL(__NR_statmount, sys_statmount)
| ^~~~~~~~~~~~~~
arch/arm64/include/asm/unistd32.h:914:24: note: (near initialization for 'compat_sys_call_table')
914 | #define __NR_statmount 454
| ^~~
arch/arm64/kernel/sys32.c:130:34: note: in definition of macro '__SYSCALL'
130 | #define __SYSCALL(nr, sym) [nr] = __arm64_##sym,
| ^~
arch/arm64/include/asm/unistd32.h:915:11: note: in expansion of macro '__NR_statmount'
915 | __SYSCALL(__NR_statmount, sys_statmount)
| ^~~~~~~~~~~~~~
>> arch/arm64/kernel/sys32.c:130:40: warning: excess elements in array initializer
130 | #define __SYSCALL(nr, sym) [nr] = __arm64_##sym,
| ^~~~~~~~
arch/arm64/include/asm/unistd32.h:915:1: note: in expansion of macro '__SYSCALL'
915 | __SYSCALL(__NR_statmount, sys_statmount)
| ^~~~~~~~~
arch/arm64/kernel/sys32.c:130:40: note: (near initialization for 'compat_sys_call_table')
130 | #define __SYSCALL(nr, sym) [nr] = __arm64_##sym,
| ^~~~~~~~
arch/arm64/include/asm/unistd32.h:915:1: note: in expansion of macro '__SYSCALL'
915 | __SYSCALL(__NR_statmount, sys_statmount)
| ^~~~~~~~~
arch/arm64/include/asm/unistd32.h:916:24: error: array index in initializer exceeds array bounds
916 | #define __NR_listmount 455
| ^~~
arch/arm64/kernel/sys32.c:130:34: note: in definition of macro '__SYSCALL'
130 | #define __SYSCALL(nr, sym) [nr] = __arm64_##sym,
| ^~
arch/arm64/include/asm/unistd32.h:917:11: note: in expansion of macro '__NR_listmount'
917 | __SYSCALL(__NR_listmount, sys_listmount)
| ^~~~~~~~~~~~~~
arch/arm64/include/asm/unistd32.h:916:24: note: (near initialization for 'compat_sys_call_table')
916 | #define __NR_listmount 455
| ^~~
arch/arm64/kernel/sys32.c:130:34: note: in definition of macro '__SYSCALL'
130 | #define __SYSCALL(nr, sym) [nr] = __arm64_##sym,
| ^~
arch/arm64/include/asm/unistd32.h:917:11: note: in expansion of macro '__NR_listmount'
917 | __SYSCALL(__NR_listmount, sys_listmount)
| ^~~~~~~~~~~~~~
>> arch/arm64/kernel/sys32.c:130:40: warning: excess elements in array initializer
130 | #define __SYSCALL(nr, sym) [nr] = __arm64_##sym,
| ^~~~~~~~
arch/arm64/include/asm/unistd32.h:917:1: note: in expansion of macro '__SYSCALL'
917 | __SYSCALL(__NR_listmount, sys_listmount)
| ^~~~~~~~~
arch/arm64/kernel/sys32.c:130:40: note: (near initialization for 'compat_sys_call_table')
130 | #define __SYSCALL(nr, sym) [nr] = __arm64_##sym,
| ^~~~~~~~
arch/arm64/include/asm/unistd32.h:917:1: note: in expansion of macro '__SYSCALL'
917 | __SYSCALL(__NR_listmount, sys_listmount)
| ^~~~~~~~~
vim +130 arch/arm64/kernel/sys32.c
4378a7d4be30ec Mark Rutland 2018-07-11 128
0156411b182877 Catalin Marinas 2015-01-06 129 #undef __SYSCALL
1e29ab3186e33c Sami Tolvanen 2019-05-24 @130 #define __SYSCALL(nr, sym) [nr] = __arm64_##sym,
0156411b182877 Catalin Marinas 2015-01-06 131
:::::: The code at line 130 was first introduced by commit
:::::: 1e29ab3186e33c77dbb2d7566172a205b59fa390 arm64: use the correct function type for __arm64_sys_ni_syscall
:::::: TO: Sami Tolvanen <samitolvanen@google.com>
:::::: CC: Will Deacon <will.deacon@arm.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-10-26 13:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202310262126.LBc6mDHi-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-unionfs@vger.kernel.org \
--cc=mszeredi@redhat.com \
--cc=oe-kbuild-all@lists.linux.dev \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).