diff options
| author | Guo Ren <[email protected]> | 2023-05-01 22:33:54 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2023-05-01 22:42:34 +0000 |
| commit | f9c4bbddece7eff1155c70d48e3c9c2a01b9d778 (patch) | |
| tree | 429549d1c26b18878bd3120a3b7179e23b38e083 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
| parent | RISC-V: fixup in-flight collision with ARCH_WANT_OPTIMIZE_VMEMMAP rename (diff) | |
| download | kernel-f9c4bbddece7eff1155c70d48e3c9c2a01b9d778.tar.gz kernel-f9c4bbddece7eff1155c70d48e3c9c2a01b9d778.zip | |
riscv: compat_syscall_table: Fixup compile warning
../arch/riscv/kernel/compat_syscall_table.c:12:41: warning: initialized
field overwritten [-Woverride-init]
12 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
../include/uapi/asm-generic/unistd.h:567:1: note: in expansion of macro
'__SYSCALL'
567 | __SYSCALL(__NR_semget, sys_semget)
Fixes: 59c10c52f573 ("riscv: compat: syscall: Add compat_sys_call_table implementation")
Reviewed-by: Conor Dooley <[email protected]>
Reported-by: kernel test robot <[email protected]>
Tested-by: Jisheng Zhang <[email protected]>
Signed-off-by: Guo Ren <[email protected]>
Signed-off-by: Guo Ren <[email protected]>
Signed-off-by: Drew Fustini <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions
