Patch "csky: abiv1: Fixup compile error" has been added to the 5.19-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

    csky: abiv1: Fixup compile error

to the 5.19-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:
     csky-abiv1-fixup-compile-error.patch
and it can be found in the queue-5.19 subdirectory.

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



commit eea6736378d992206ba2376b2dae701fa4a3fabd
Author: Guo Ren <guoren@xxxxxxxxxx>
Date:   Sun Jul 31 22:34:24 2022 -0400

    csky: abiv1: Fixup compile error
    
    [ Upstream commit 45fef4c4b9c94e86d9c13f0b2e7e71bb32254509 ]
    
      LD      vmlinux.o
    arch/csky/lib/string.o: In function `memmove':
    string.c:(.text+0x108): multiple definition of `memmove'
    lib/string.o:string.c:(.text+0x7e8): first defined here
    arch/csky/lib/string.o: In function `memset':
    string.c:(.text+0x148): multiple definition of `memset'
    lib/string.o:string.c:(.text+0x2ac): first defined here
    scripts/Makefile.vmlinux_o:68: recipe for target 'vmlinux.o' failed
    make[4]: *** [vmlinux.o] Error 1
    
    Fixes: e4df2d5e852a ("csky: Add C based string functions")
    Signed-off-by: Guo Ren <guoren@xxxxxxxxxxxxxxxxx>
    Signed-off-by: Guo Ren <guoren@xxxxxxxxxx>
    Cc: <stable@xxxxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/csky/abiv1/inc/abi/string.h b/arch/csky/abiv1/inc/abi/string.h
index 9d95594b0feb..de50117b904d 100644
--- a/arch/csky/abiv1/inc/abi/string.h
+++ b/arch/csky/abiv1/inc/abi/string.h
@@ -6,4 +6,10 @@
 #define __HAVE_ARCH_MEMCPY
 extern void *memcpy(void *, const void *, __kernel_size_t);
 
+#define __HAVE_ARCH_MEMMOVE
+extern void *memmove(void *, const void *, __kernel_size_t);
+
+#define __HAVE_ARCH_MEMSET
+extern void *memset(void *, int,  __kernel_size_t);
+
 #endif /* __ABI_CSKY_STRING_H */



[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