Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1406542imm; Thu, 6 Sep 2018 23:00:34 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY6VqCl5UrOpULyuBdsj969N077U9aHF+xVW8/dgBeyCW/aaj+IlkKAC6qrVL6PybMiuRZG X-Received: by 2002:a62:dbc5:: with SMTP id f188-v6mr6868949pfg.182.1536300034547; Thu, 06 Sep 2018 23:00:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536300034; cv=none; d=google.com; s=arc-20160816; b=u7FVnkPj9TSzp9U6JgM1XoKTiLr8af5HW9dGAHBzxKz2z3TVEZOQOX1r08/aOf2RY9 Z3XTYdqfUC/P0YAwym5JL4MLIRIhb19DfaDBo/5BIAdbW0Fv4iBGhg/pdGQTKSqL33AV fmRRrePNz3luUMnQzDOI7E9WCT6TVCKry/hTfs4aC94XI+15PzEQnelL31COaNWsD211 BNZGtiLv3Q+dCPxZEGzSCRG+CtTA+QMxN1kr9pYHtt0v9Plx/XeSwx0H0yKJic4IfPqx PTXhls96lhpF3vWfHtgc8s0c46YAJdESrnEOVk4K4otQc29wUaAbsKJpLnjTyY4mWqBq RsWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=I9jXINb/S53tWZ1hwD2YcsoL2uFiNqCPpD4EI02g2p8=; b=blIzcd/dCJwxzr/RL+9TzoAy8TE3EEOxKL0JT2VxxxaY+J/BUCq5SuUlQy1ag81rz5 9sxDoch5/weIaS/D84bH1v96Z/Jrn9+dguCv5R188qkAnskV8y1sMkOCYfblUkHFmS9C Oq/MFSS2x+DpH6aHOYO5FgGK2Gqk37bW1jssmQorpElwzy8K7g/bbPVWtWMmOuc0Fj2C 0qq2c3a1jvDVJ3obf42KmFK31NbsV0lwN4XCUkghkOqJOXyZbOQpyUm148+/qWMtkg4w ljJWCpb2q5qYd4ncOldDrEoK29ssvwp+WG9OoLy5be9d4mRuuq4+gUl2mEkbsVXJfao/ vn5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j11-v6si6880569pll.234.2018.09.06.23.00.14; Thu, 06 Sep 2018 23:00:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727641AbeIGJyl (ORCPT + 99 others); Fri, 7 Sep 2018 05:54:41 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:59103 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725831AbeIGJyk (ORCPT ); Fri, 7 Sep 2018 05:54:40 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.09726151|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03293;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=12;RT=12;SR=0;TI=SMTPD_---.CnYhkKY_1536297295; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.CnYhkKY_1536297295) by smtp.aliyun-inc.com(10.147.41.137); Fri, 07 Sep 2018 13:14:56 +0800 Date: Fri, 7 Sep 2018 13:14:55 +0800 From: Guo Ren To: Geert Uytterhoeven Cc: Arnd Bergmann , Linux-Arch , Linux Kernel Mailing List , Thomas Gleixner , Daniel Lezcano , Jason Cooper , c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, Thomas Petazzoni , wbx@uclibc-ng.org, Greentime Hu Subject: Re: [PATCH V3 13/26] csky: Library functions Message-ID: <20180907051454.GB13356@guoren-Inspiron-7460> References: <37f9bd824ede529fdab291a40eef3415f99ec8aa.1536138304.git.ren_guo@c-sky.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 06, 2018 at 05:50:02PM +0200, Geert Uytterhoeven wrote: > On Thu, Sep 6, 2018 at 4:25 PM Arnd Bergmann wrote: > > On Wed, Sep 5, 2018 at 2:08 PM Guo Ren wrote: > > > --- /dev/null > > > +++ b/arch/csky/abiv1/memset.c > > > @@ -0,0 +1,38 @@ > > > + if ((long)d & 0x3) > > > + while (l--) *d++ = ch; > > while ((uintptr_t)d & 0x3) && l--) > *d++ =ch; > > and remove the else below? Ok > > > + *(((long *)d)+3) = tmp; > > s/long/u32/ Ok Thx Guo Ren