Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3310532pxb; Mon, 24 Jan 2022 07:04:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJy2NsDaoWfIvzQxKK2fpyTlmxERIseEWvI+4cdW666l//8ZxgusQtOgFFpJAlTM1jeTWtTs X-Received: by 2002:a05:6a00:1352:b0:4c1:b48a:2280 with SMTP id k18-20020a056a00135200b004c1b48a2280mr14331953pfu.38.1643036657838; Mon, 24 Jan 2022 07:04:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643036657; cv=none; d=google.com; s=arc-20160816; b=CKCeYx0lASN4Ff9p2Ethe8OKxO7zb9fbWCm6pZ90HRSOX89C4nJ1X4NCAceDDXYd2s H5ZaOuMKpuiL/QNySmEtJHkXxjFn5k7FS3dG75lRuD3P6WSf5bDVutlbZmukEUFfLUQk JxtOyyAVXbfDrdC0Q3G2S0iX0v1V7j8JPnUJ1CA07vxz2IYTNRbsKivgZ+ZTidHT527Z 0t7prgOkkwwqL71hYzhp7fvG7t36U8fKM4NfmDGmWz4T7/hy5QRD+2PQaFSaoeW66ee/ oiogOIgkOMKXh34Zul1gWNJcojsZqZlsNk1PPDxgnuDZdnrTKHlb1dWCIviyGwzFdxy0 nO6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=syJJE/Qo6SPH0sSL0neAN+nKt5eaHiqDKA6r4xdpWFk=; b=0CT2AmMFnekcvYRmKpWlVJXQ2lyld6301BVdhA0kQy9O8isd0fP6PxAexNgse/2h9x MCS1Yl9gJkII0MJH4z86PGF9HPprvsgpdKlpVt75jRWhO3w8s8Zt1Pc3vO0BnMY5yLpD iKGZ6n6kV2X1I1CiT4MPxRqw5e3NOX5/14CvwKLRPwojZMaT7e9Bc+2gv6m/mODmPKt9 sIZkGO2ZuDDbZ40at2AqTHVPcOsl7QMlTR17d5Jn4ODZqQ+NxGpQL4uHHxBS6ZxQ3wqQ AK1D//8PF0l+UGbTVl2dvKsa7Xxg4WLGJi8ViMXLizh9rsI9cfjJYhF159l2oXXGwRQR IwJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hX7OzedD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t3si10077735pgt.101.2022.01.24.07.04.04; Mon, 24 Jan 2022 07:04:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hX7OzedD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240529AbiAXApr (ORCPT + 99 others); Sun, 23 Jan 2022 19:45:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235309AbiAXApq (ORCPT ); Sun, 23 Jan 2022 19:45:46 -0500 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5A3EC06173B for ; Sun, 23 Jan 2022 16:45:46 -0800 (PST) Received: by mail-pj1-x102a.google.com with SMTP id g9-20020a17090a67c900b001b4f1d71e4fso14889491pjm.4 for ; Sun, 23 Jan 2022 16:45:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=syJJE/Qo6SPH0sSL0neAN+nKt5eaHiqDKA6r4xdpWFk=; b=hX7OzedDjaKYQVBoUIG9Pwcc+aoUWV943bQwHSYprltvYFkoVVQciJ2K7U8JRrgDTp vJgf11p6kYT5dUNtKnYsyBm69OdYk551j6Ust56PNGxdHNWF/u5xPTjRFZbaIp4m1slQ ZKlw1xHL8ib0MCoW7e+8XbhBih80icLi17iQwNkRqW+l8v/knTBOASik4Ax3/mUln8// FwcDGGmSfwZ4nArcybfqi4w5V9VklBmWkuELO/ervw7htleo6or8kNS96j38UGyds/UO A/cLjqJoaL44ebcQ9yPYFtKxlhX51GXIXRjLgDRtZKmNsUlEATdBWMm0yPW/0MoGDAbF C3PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=syJJE/Qo6SPH0sSL0neAN+nKt5eaHiqDKA6r4xdpWFk=; b=XXuWwcQBDGj9wZEICuHi2Z3/89t/n6h1BKyxp+u580cxcmZi5jWDVl/6rUKXo/yJ1M j0thBX1t73IJXvFKbYQOj5u2JarGJlqq04oRYcHOQSDxCxqU/nbVW2UFDTjpJC5mKU67 LYx7HcNsvjbiMl4XCD+ltp/cfB2qJoyM4Pru6VvSAgp2oXGgwsVybLSFlc5N+bnDhr8u hhkdwL418VPnCSZrxM/O0+p6SLczU10vWj5T628QLtPEhu9GmnvvaotFlCYDIO46dXat fojDjzJIclb9X/DDdNJgqYtrneoxC/Eno/ymYfH6iqsnvM9u6NYXHG3iFdOHXLCSwhSk BEdA== X-Gm-Message-State: AOAM533QZppu1gcJIvFmB3E/Y8QJyso+H3MP5fvSF1CBTVGhhIxiVC4K 59pncl+PZcVuDiV0Y3U3EamFZdItuNc= X-Received: by 2002:a17:902:da88:b0:14b:2d82:c074 with SMTP id j8-20020a170902da8800b0014b2d82c074mr8531002plx.13.1642985146108; Sun, 23 Jan 2022 16:45:46 -0800 (PST) Received: from localhost ([2409:10:24a0:4700:e8ad:216a:2a9d:6d0c]) by smtp.gmail.com with ESMTPSA id o8sm386585pfu.52.2022.01.23.16.45.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jan 2022 16:45:45 -0800 (PST) Date: Mon, 24 Jan 2022 09:45:43 +0900 From: Stafford Horne To: Kuniyuki Iwashima Cc: benh@amazon.com, jonas@southpole.se, kuni1840@gmail.com, linux-kernel@vger.kernel.org, openrisc@lists.librecores.org, stefan.kristiansson@saunalahti.fi Subject: Re: [PATCH] openrisc/boot: Remove unnecessary initialisation in memcpy(). Message-ID: References: <20220124000249.4295-1-kuniyu@amazon.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220124000249.4295-1-kuniyu@amazon.co.jp> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 24, 2022 at 09:02:49AM +0900, Kuniyuki Iwashima wrote: > From: Stafford Horne > Date: Mon, 24 Jan 2022 08:27:54 +0900 > > On Sun, Jan 23, 2022 at 11:01:00AM +0900, Kuniyuki Iwashima wrote: > > > 'd' and 's' are initialised later with 'dest_w' and 'src_w', so we need not > > > initialise them before that. > > > > > > Signed-off-by: Kuniyuki Iwashima > > > > This looks fine to me. I will queue this for the next release. > > Thank you. > > > > > > Just curious why are you working on OpenRISC? > > While reading memcpy() variants, I found a nit to fix in x86 boot-time > memcpy() [0]. While I'm at it, I just started reading all arch ones ;) > > [0]: https://lore.kernel.org/lkml/20220123015807.45005-1-kuniyu@amazon.co.jp/ Got it. Thanks again!