Patch "riscv: compat_syscall_table: Fixup compile warning" has been added to the 6.3-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    riscv: compat_syscall_table: Fixup compile warning

to the 6.3-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     riscv-compat_syscall_table-fixup-compile-warning.patch
and it can be found in the queue-6.3 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 58b960552bd85d66430f64a5f2dd52b163185d92
Author: Guo Ren <guoren@xxxxxxxxxx>
Date:   Mon May 1 15:33:54 2023 -0700

    riscv: compat_syscall_table: Fixup compile warning
    
    [ Upstream commit f9c4bbddece7eff1155c70d48e3c9c2a01b9d778 ]
    
    ../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 <conor.dooley@xxxxxxxxxxxxx>
    Reported-by: kernel test robot <lkp@xxxxxxxxx>
    Tested-by: Jisheng Zhang <jszhang@xxxxxxxxxx>
    Signed-off-by: Guo Ren <guoren@xxxxxxxxxxxxxxxxx>
    Signed-off-by: Guo Ren <guoren@xxxxxxxxxx>
    Signed-off-by: Drew Fustini <dfustini@xxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20230501223353.2833899-1-dfustini@xxxxxxxxxxxx
    Signed-off-by: Palmer Dabbelt <palmer@xxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/riscv/kernel/Makefile b/arch/riscv/kernel/Makefile
index 4cf303a779ab9..8d02b9d05738d 100644
--- a/arch/riscv/kernel/Makefile
+++ b/arch/riscv/kernel/Makefile
@@ -9,6 +9,7 @@ CFLAGS_REMOVE_patch.o	= $(CC_FLAGS_FTRACE)
 CFLAGS_REMOVE_sbi.o	= $(CC_FLAGS_FTRACE)
 endif
 CFLAGS_syscall_table.o	+= $(call cc-option,-Wno-override-init,)
+CFLAGS_compat_syscall_table.o += $(call cc-option,-Wno-override-init,)
 
 ifdef CONFIG_KEXEC
 AFLAGS_kexec_relocate.o := -mcmodel=medany $(call cc-option,-mno-relax)



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux