Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2566905pxb; Mon, 11 Jan 2021 13:08:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJwAHQ05+yD18aQ8L0gVDM4Bx9iOvz8t4GpF31gifTiFCSEdi30kYQs4ZocveUNf6zfgwo57 X-Received: by 2002:a17:906:aeda:: with SMTP id me26mr888600ejb.11.1610399317665; Mon, 11 Jan 2021 13:08:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610399317; cv=none; d=google.com; s=arc-20160816; b=CmC9NjDmJ4RNnQVzkShSxYrH0dO7NXyMLV5Eg/E1HFy7Hv1Sg3MM2VKIp4ORkJ7LzJ GOMplMRYchnXMdTRBz7fsd672fKB+rxhZvTNrx/A0BG9EAHeA8/WTOYCN+TzzA0y+Szz GWFeggisTEX6qFruvDyRrFYgGaZ4nl1hHSESTBNsqAg5zq6F+9NYttfCAUqUGBZKJz1j jK1tkUeoMpsW4eEp8UM/jnmqAX2zOJ562/fABA86UpLLyo8l1omWRy397/gMIAgOQpMD Um0Tm+ZYz78cvL+GA9x8hfaig8eG54ANxioh/IxgNjkCsSGWcMDB4pq6AAWCXodBJgko +A1w== 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:mail-followup-to:message-id:subject:cc:to:from:date; bh=QPp9ooIYjJVtIovj1YqB/7AyFywJ2rQOdgSv8E538dc=; b=XboYoNlcO40fgVFabheiwlLkMnWll1I7BorEGLdNan/EfSQg0/yGWmqBRpig45QSPr 6R/EQZFnN9bqfklp3KZ67ihxEtHeuSFhboc84gIR6iAaAw4hdIBaRWXVt/0KTxptJ1i1 esHqfGXGvsZuF8Gp0+oJMtp8OyNFkfaQXcYsca2HpGSiJ3CMHkDd1sJpBLK60/Qn7sbx YScNvOb74JBgFnkwl+G4kj1hn3lUKMHa0AzGh5yJUb2wC4hq0NcOrbaUEKcTxpJ8kF7z bdBOsg2WtlWJB4wrEV+bFTFLN+IlS09mX7736B263w+jUL7NldnIUbq8y/fkFBHnf9bJ 27eA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n17si203593ejs.423.2021.01.11.13.08.13; Mon, 11 Jan 2021 13:08:37 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729998AbhAKVFk (ORCPT + 99 others); Mon, 11 Jan 2021 16:05:40 -0500 Received: from sauhun.de ([88.99.104.3]:47668 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727057AbhAKVFj (ORCPT ); Mon, 11 Jan 2021 16:05:39 -0500 Received: from localhost (p54b331ec.dip0.t-ipconnect.de [84.179.49.236]) by pokefinder.org (Postfix) with ESMTPSA id CCF582C08AE; Mon, 11 Jan 2021 22:04:57 +0100 (CET) Date: Mon, 11 Jan 2021 22:04:57 +0100 From: Wolfram Sang To: Dmitry Torokhov Cc: linux-iio@vger.kernel.orgi, Luca Ceresoli , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 3/3] i2c: smbus: switch from loops to memcpy Message-ID: <20210111210457.GD17475@kunai> Mail-Followup-To: Wolfram Sang , Dmitry Torokhov , linux-iio@vger.kernel.orgi, Luca Ceresoli , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org References: <20191112203132.163306-1-dmitry.torokhov@gmail.com> <20191112203132.163306-4-dmitry.torokhov@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wULyF7TL5taEdwHz" Content-Disposition: inline In-Reply-To: <20191112203132.163306-4-dmitry.torokhov@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --wULyF7TL5taEdwHz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 12, 2019 at 12:31:32PM -0800, Dmitry Torokhov wrote: > When copying memory from one buffer to another, instead of open-coding > loops with byte-by-byte copies let's use memcpy() which might be a bit > faster and makes intent more clear. >=20 > Signed-off-by: Dmitry Torokhov >=20 This one I like very much! Applied to for-next, thanks! --wULyF7TL5taEdwHz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl/8vXkACgkQFA3kzBSg KbbCMA/9HN2XjJ2lHiqTDk4AA6OqOX36Dfgmhkdo4gTlVLCi47jOQnEBj3K2ukEm /fW2M+/a6OfPaP8MoaCt5Z3ibNR1MK+8ESNDG7iZMLfZbTEEsBdQxH15AcJkrUpB HWOi8pELHmkUzxTms0dIV9t27xGaKosDT9iTffgEU5zudKFe993KjMU5pXMOh7+L 9NzZQ+9ZYZtv673eb/92LdoswTIxSsVDrj/1szHSddZnShcPDU7LO520mGpKYkzL +3oozvrC3UyRbxLnls8zV2R26KlMC8AHIvRB6SpqMRgVBC5wMqTQaaaEmUJv6aOx VmUWnaWRcgNDpOx+E8tIyIH0zMGFcxWWvzNycmh3HlPntb9JLcQMmQJV2d3lFfQj uz+s8K9CLjopO2R0KAUGTd2Cjig56a+stymFqh7mPJ/JRvH9Zdcb6c024RZYwy2T ybo69Ag9hIdva0JzAnxcPj6Fm/pp9G1mbA+gd5AR43aK01cZVyvcyMJbhkU637al t9zoOxaDD5HBrpapoIwnfFe0Q5em6sJ9WcBOj2N9nuoP8AA7UboX5jatR0mmdBE0 81d2tWhNrSWImzNyz2HyrH5TvgS+JpRdawc23Ir08CEVA2ilm1P73MtW5yo0hNug Ao5fbjCJfqGds2QFpYMUn5TLCmnilUgRcQe4HOkAteKVAPcLvGE= =8niq -----END PGP SIGNATURE----- --wULyF7TL5taEdwHz--