Thread (67 messages) 67 messages, 7 authors, 2018-09-10

Re: [PATCH V3 13/26] csky: Library functions

From: Guo Ren <hidden>
Date: 2018-09-07 05:15:31
Also in: lkml

On Thu, Sep 06, 2018 at 05:50:02PM +0200, Geert Uytterhoeven wrote:
On Thu, Sep 6, 2018 at 4:25 PM Arnd Bergmann [off-list ref] wrote:
quoted
On Wed, Sep 5, 2018 at 2:08 PM Guo Ren [off-list ref] wrote:
quoted
--- /dev/null
+++ b/arch/csky/abiv1/memset.c
@@ -0,0 +1,38 @@
quoted
quoted
+       if ((long)d & 0x3)
+               while (l--) *d++ = ch;
while ((uintptr_t)d & 0x3) && l--)
        *d++ =ch;

and remove the else below?
Ok
 
quoted
quoted
+                       *(((long *)d)+3) = tmp;
s/long/u32/
Ok

Thx
 Guo Ren
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help