All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: kbuild-all@lists.01.org
Subject: Re: [hch-misc:exec-cleanup 2/6] arch/x86/entry/syscall_x32.c:26:39: note: in expansion of macro '__x32_sys_execve'
Date: Tue, 16 Jun 2020 08:50:59 +0200	[thread overview]
Message-ID: <20200616065059.GA17215@lst.de> (raw)
In-Reply-To: <202006160441.CRj5EQZD%lkp@intel.com>

[-- Attachment #1: Type: text/plain, Size: 23484 bytes --]

Brian, any idea what we could do about this warning?  This is the
latest version with Arnds suggestions in your fixed up version as
found here:

http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/exec-cleanup

On Tue, Jun 16, 2020 at 04:51:44AM +0800, kernel test robot wrote:
> tree:   git://git.infradead.org/users/hch/misc.git exec-cleanup
> head:   080f989240087d1a10d9c782036e5106ef9d755e
> commit: c8d319711ad2f53be003ae8e9be08519068bdcee [2/6] exec: simplify the compat syscall handling
> config: x86_64-randconfig-m001-20200615 (attached as .config)
> compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All warnings (new ones prefixed by >>, old ones prefixed by <<):
> 
> | ^~~~~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:336:1: note: in expansion of macro '__SYSCALL_X32'
> 336 | __SYSCALL_X32(512, compat_sys_rt_sigaction)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[512]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:336:1: note: in expansion of macro '__SYSCALL_X32'
> 336 | __SYSCALL_X32(512, compat_sys_rt_sigaction)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:337:1: note: in expansion of macro '__SYSCALL_X32'
> 337 | __SYSCALL_X32(513, compat_sys_x32_rt_sigreturn)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[513]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:337:1: note: in expansion of macro '__SYSCALL_X32'
> 337 | __SYSCALL_X32(513, compat_sys_x32_rt_sigreturn)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:338:1: note: in expansion of macro '__SYSCALL_X32'
> 338 | __SYSCALL_X32(514, compat_sys_ioctl)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[514]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:338:1: note: in expansion of macro '__SYSCALL_X32'
> 338 | __SYSCALL_X32(514, compat_sys_ioctl)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:339:1: note: in expansion of macro '__SYSCALL_X32'
> 339 | __SYSCALL_X32(515, compat_sys_readv)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[515]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:339:1: note: in expansion of macro '__SYSCALL_X32'
> 339 | __SYSCALL_X32(515, compat_sys_readv)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:340:1: note: in expansion of macro '__SYSCALL_X32'
> 340 | __SYSCALL_X32(516, compat_sys_writev)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[516]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:340:1: note: in expansion of macro '__SYSCALL_X32'
> 340 | __SYSCALL_X32(516, compat_sys_writev)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:341:1: note: in expansion of macro '__SYSCALL_X32'
> 341 | __SYSCALL_X32(517, compat_sys_recvfrom)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[517]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:341:1: note: in expansion of macro '__SYSCALL_X32'
> 341 | __SYSCALL_X32(517, compat_sys_recvfrom)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:342:1: note: in expansion of macro '__SYSCALL_X32'
> 342 | __SYSCALL_X32(518, compat_sys_sendmsg)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[518]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:342:1: note: in expansion of macro '__SYSCALL_X32'
> 342 | __SYSCALL_X32(518, compat_sys_sendmsg)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:343:1: note: in expansion of macro '__SYSCALL_X32'
> 343 | __SYSCALL_X32(519, compat_sys_recvmsg)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[519]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:343:1: note: in expansion of macro '__SYSCALL_X32'
> 343 | __SYSCALL_X32(519, compat_sys_recvmsg)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:15:26: warning: initialized field overwritten [-Woverride-init]
> 15 | #define __x32_sys_execve __x64_sys_execve
> |                          ^~~~~~~~~~~~~~~~
> >> arch/x86/entry/syscall_x32.c:26:39: note: in expansion of macro '__x32_sys_execve'
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:344:1: note: in expansion of macro '__SYSCALL_X32'
> 344 | __SYSCALL_X32(520, sys_execve)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:15:26: note: (near initialization for 'x32_sys_call_table[520]')
> 15 | #define __x32_sys_execve __x64_sys_execve
> |                          ^~~~~~~~~~~~~~~~
> >> arch/x86/entry/syscall_x32.c:26:39: note: in expansion of macro '__x32_sys_execve'
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:344:1: note: in expansion of macro '__SYSCALL_X32'
> 344 | __SYSCALL_X32(520, sys_execve)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:345:1: note: in expansion of macro '__SYSCALL_X32'
> 345 | __SYSCALL_X32(521, compat_sys_ptrace)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[521]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:345:1: note: in expansion of macro '__SYSCALL_X32'
> 345 | __SYSCALL_X32(521, compat_sys_ptrace)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:346:1: note: in expansion of macro '__SYSCALL_X32'
> 346 | __SYSCALL_X32(522, compat_sys_rt_sigpending)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[522]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:346:1: note: in expansion of macro '__SYSCALL_X32'
> 346 | __SYSCALL_X32(522, compat_sys_rt_sigpending)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:347:1: note: in expansion of macro '__SYSCALL_X32'
> 347 | __SYSCALL_X32(523, compat_sys_rt_sigtimedwait_time64)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[523]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:347:1: note: in expansion of macro '__SYSCALL_X32'
> 347 | __SYSCALL_X32(523, compat_sys_rt_sigtimedwait_time64)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:348:1: note: in expansion of macro '__SYSCALL_X32'
> 348 | __SYSCALL_X32(524, compat_sys_rt_sigqueueinfo)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[524]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:348:1: note: in expansion of macro '__SYSCALL_X32'
> 348 | __SYSCALL_X32(524, compat_sys_rt_sigqueueinfo)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:349:1: note: in expansion of macro '__SYSCALL_X32'
> 349 | __SYSCALL_X32(525, compat_sys_sigaltstack)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[525]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:349:1: note: in expansion of macro '__SYSCALL_X32'
> 349 | __SYSCALL_X32(525, compat_sys_sigaltstack)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:350:1: note: in expansion of macro '__SYSCALL_X32'
> 350 | __SYSCALL_X32(526, compat_sys_timer_create)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[526]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:350:1: note: in expansion of macro '__SYSCALL_X32'
> 350 | __SYSCALL_X32(526, compat_sys_timer_create)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:351:1: note: in expansion of macro '__SYSCALL_X32'
> 351 | __SYSCALL_X32(527, compat_sys_mq_notify)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[527]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:351:1: note: in expansion of macro '__SYSCALL_X32'
> 351 | __SYSCALL_X32(527, compat_sys_mq_notify)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:352:1: note: in expansion of macro '__SYSCALL_X32'
> 352 | __SYSCALL_X32(528, compat_sys_kexec_load)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[528]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:352:1: note: in expansion of macro '__SYSCALL_X32'
> 352 | __SYSCALL_X32(528, compat_sys_kexec_load)
> --
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:361:1: note: in expansion of macro '__SYSCALL_X32'
> 361 | __SYSCALL_X32(537, compat_sys_recvmmsg_time64)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[537]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:361:1: note: in expansion of macro '__SYSCALL_X32'
> 361 | __SYSCALL_X32(537, compat_sys_recvmmsg_time64)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:362:1: note: in expansion of macro '__SYSCALL_X32'
> 362 | __SYSCALL_X32(538, compat_sys_sendmmsg)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[538]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:362:1: note: in expansion of macro '__SYSCALL_X32'
> 362 | __SYSCALL_X32(538, compat_sys_sendmmsg)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:363:1: note: in expansion of macro '__SYSCALL_X32'
> 363 | __SYSCALL_X32(539, compat_sys_process_vm_readv)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[539]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:363:1: note: in expansion of macro '__SYSCALL_X32'
> 363 | __SYSCALL_X32(539, compat_sys_process_vm_readv)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:364:1: note: in expansion of macro '__SYSCALL_X32'
> 364 | __SYSCALL_X32(540, compat_sys_process_vm_writev)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[540]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:364:1: note: in expansion of macro '__SYSCALL_X32'
> 364 | __SYSCALL_X32(540, compat_sys_process_vm_writev)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:365:1: note: in expansion of macro '__SYSCALL_X32'
> 365 | __SYSCALL_X32(541, compat_sys_setsockopt)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[541]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:365:1: note: in expansion of macro '__SYSCALL_X32'
> 365 | __SYSCALL_X32(541, compat_sys_setsockopt)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:366:1: note: in expansion of macro '__SYSCALL_X32'
> 366 | __SYSCALL_X32(542, compat_sys_getsockopt)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[542]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:366:1: note: in expansion of macro '__SYSCALL_X32'
> 366 | __SYSCALL_X32(542, compat_sys_getsockopt)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:367:1: note: in expansion of macro '__SYSCALL_X32'
> 367 | __SYSCALL_X32(543, compat_sys_io_setup)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[543]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:367:1: note: in expansion of macro '__SYSCALL_X32'
> 367 | __SYSCALL_X32(543, compat_sys_io_setup)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:368:1: note: in expansion of macro '__SYSCALL_X32'
> 368 | __SYSCALL_X32(544, compat_sys_io_submit)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[544]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:368:1: note: in expansion of macro '__SYSCALL_X32'
> 368 | __SYSCALL_X32(544, compat_sys_io_submit)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:16:28: warning: initialized field overwritten [-Woverride-init]
> 16 | #define __x32_sys_execveat __x64_sys_execveat
> |                            ^~~~~~~~~~~~~~~~~~
> >> arch/x86/entry/syscall_x32.c:26:39: note: in expansion of macro '__x32_sys_execveat'
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:369:1: note: in expansion of macro '__SYSCALL_X32'
> 369 | __SYSCALL_X32(545, sys_execveat)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:16:28: note: (near initialization for 'x32_sys_call_table[545]')
> 16 | #define __x32_sys_execveat __x64_sys_execveat
> |                            ^~~~~~~~~~~~~~~~~~
> >> arch/x86/entry/syscall_x32.c:26:39: note: in expansion of macro '__x32_sys_execveat'
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:369:1: note: in expansion of macro '__SYSCALL_X32'
> 369 | __SYSCALL_X32(545, sys_execveat)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:370:1: note: in expansion of macro '__SYSCALL_X32'
> 370 | __SYSCALL_X32(546, compat_sys_preadv64v2)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[546]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:370:1: note: in expansion of macro '__SYSCALL_X32'
> 370 | __SYSCALL_X32(546, compat_sys_preadv64v2)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:371:1: note: in expansion of macro '__SYSCALL_X32'
> 371 | __SYSCALL_X32(547, compat_sys_pwritev64v2)
> | ^~~~~~~~~~~~~
> arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[547]')
> 26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> |                                       ^~~~~~
> ./arch/x86/include/generated/asm/syscalls_64.h:371:1: note: in expansion of macro '__SYSCALL_X32'
> 371 | __SYSCALL_X32(547, compat_sys_pwritev64v2)
> | ^~~~~~~~~~~~~
> 
> vim +/__x32_sys_execve +26 arch/x86/entry/syscall_x32.c
> 
> 2e487c357917b9 Brian Gerst 2020-03-13  25  
> cab56d3484d4bb Brian Gerst 2020-03-13 @26  #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
> cab56d3484d4bb Brian Gerst 2020-03-13  27  #define __SYSCALL_COMMON(nr, sym) [nr] = __x64_##sym,
> 2e487c357917b9 Brian Gerst 2020-03-13  28  
> 
> :::::: The code at line 26 was first introduced by commit
> :::::: cab56d3484d4bb8b21e4d9500392ac1ce99af026 x86/entry: Remove ABI prefixes from functions in syscall tables
> 
> :::::: TO: Brian Gerst <brgerst@gmail.com>
> :::::: CC: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org


---end quoted text---

  reply	other threads:[~2020-06-16  6:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-15 20:51 [hch-misc:exec-cleanup 2/6] arch/x86/entry/syscall_x32.c:26:39: note: in expansion of macro '__x32_sys_execve' kernel test robot
2020-06-16  6:50 ` Christoph Hellwig [this message]
2020-06-16 12:04   ` Brian Gerst

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=20200616065059.GA17215@lst.de \
    --to=hch@lst.de \
    --cc=kbuild-all@lists.01.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.