Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7720322ybi; Mon, 22 Jul 2019 19:19:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqwUGH3JZ+2zYAcVi1kHo74ZFf/ke2jM9ARaamb5oem8ev6I6ccAb+6Hl+1TEL5/Zk4gXNuK X-Received: by 2002:a63:f452:: with SMTP id p18mr48467176pgk.373.1563848360760; Mon, 22 Jul 2019 19:19:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563848360; cv=none; d=google.com; s=arc-20160816; b=Izbfe+5MK6LneJIymbEgOE5PXzAxDULU0fwB/sGWrHAjgH1SPMa+v1UFaEpsFaiMDn kvCDLqqv3VNR9qQAa5Ke1gIzPwlOMWNzgeonxwAHIoIoGkeozuVNaEJlBO2WWhnv+lq8 Rgkl5tZbwzK08ludEGpoKXjocDUiBZz1rxf+uTZ+O/onRgoNR/iHr0eNrKddTJgMKl/X QMaYcM4RZ8f0DTi8ULNRHY9Kbx2HNuffgPmCq6p9kkhwtp5Z/str7G8CsNNEWEKb57Zo oKAL/gTvb2nJgZvaK3UempMLLqPg93Ms9DaFIjaUejboR1yG7PoUK82Tq8wIeZq4+mK4 zfng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=CAN9B/UifrWBMc1o3NqdfrtR/SlWbgokufoIHv8R2sE=; b=mXhm9wTbnWCI92dU0kqfzIuwADL6dY8jR6vHyqFg4a5srLzpBa+qLhtt+MkjfTxDpC RCjNORMRNP0I/SosxucQyXJJA+md546ezzYEfJ1gZDvXEOUaX4nn0Gwk7ZJyVTKqJtyX FEt3LsAK1ZOLZwdp6A0Jdi2JryNvrC0BTQcEIHhwiWJ3gwaVH1Oo55ag1wEdJklfWv+m 5ViO05YwyJjvFQovVP2csZvpIFgacNhUqQeYk6P0huagUElmhpiErwxGaKP4R5V7lyRn 0Jbc/h8tdPhNFRO0qeQqLSTrrtXFTGJGhc2W5Cf6GlcMEZDF50a4lOX77ip4l6Snz7eF 1QpA== 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 r15si9960005pgj.71.2019.07.22.19.19.05; Mon, 22 Jul 2019 19:19:20 -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 S1731710AbfGVTNX (ORCPT + 99 others); Mon, 22 Jul 2019 15:13:23 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:48010 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730785AbfGVTNW (ORCPT ); Mon, 22 Jul 2019 15:13:22 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id AE6E515258BCA; Mon, 22 Jul 2019 12:13:21 -0700 (PDT) Date: Mon, 22 Jul 2019 12:13:21 -0700 (PDT) Message-Id: <20190722.121321.777111498001639136.davem@davemloft.net> To: hslester96@gmail.com Cc: steve.glendinning@shawell.net, netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] usbnet: smsc75xx: Merge memcpy + le32_to_cpus to get_unaligned_le32 From: David Miller In-Reply-To: <20190719082730.6378-1-hslester96@gmail.com> References: <20190719082730.6378-1-hslester96@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 22 Jul 2019 12:13:21 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chuhong Yuan Date: Fri, 19 Jul 2019 16:27:31 +0800 > Merge the combo use of memcpy and le32_to_cpus. > Use get_unaligned_le32 instead. > This simplifies the code. > > Signed-off-by: Chuhong Yuan Applied.