Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7851507ybi; Mon, 22 Jul 2019 22:10:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqxfEdeZ7I8UUFUePZO6wZk349yCniwLMLiwbyOaOZUxJhdZ6qebUpcT7kzQdBDX8m5MbDXZ X-Received: by 2002:a17:90a:9bc5:: with SMTP id b5mr81071664pjw.109.1563858646620; Mon, 22 Jul 2019 22:10:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563858646; cv=none; d=google.com; s=arc-20160816; b=1Fcdco3Tt0g24ZW9MHdqYFZkaW/jANXabRFCtodiDV6oa+CHr1bbkMrZtMZNASIKZX +vjOFnSy/ZKaKBeoOT1uWfraTV2wPG4FRrmIFIOOkL1Q8BLSt6LaiikMEA71MxS5xz3I cydBrmYl+zVMPkx07okWed1ONG0CQWvgoWY6Y/+vG2zlI7TtgdTBpG2oObyIzeAhXGC9 +OnB0fSrpgVSutKcjPfCpzMH8IrULooahTuOi0MAPjwzOBlWWb4xbi0mz6Mm8RaMhMUG SbPmCrYvkcEeJB10Q7gKMS+0DxFgpBq60gBHHI9epHBOeuV4bH9hXXknXvM0VKy+0FP7 BrOg== 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=J48dPEzxFQ7V16yxhtN5wdGjQLQ9q3M0JNo+HSh4t2E=; b=lvnbUshbQAcKt6I7VyMHjsTxVC912qTdYcypnGxiqr8w/Xhh5vtXAWHUHZyBLhK5YM 8mG5Z0oujwtHjnf1MH1jneyf327pftd0kPtn267AxQut/mablYsP7N85GTGfmn/52oxm N91xTFt5n6lZ03ZPMsRvo5DxKwzb5PQs1jMPD+vb3UoIwYOb48UmaUcnlvCcspX9GHMS 66bbGTvJDl16xG91Lqebvb8BcxJfek2TcwVo0nPNU+PMUb6GUZPZI6NeS8/EwgnJTglc Vbq6p7Y/tcBupJlHLPN/pwWVUwR/r9EqVsmJuRUDUIe+WM28HsWh+rBZiIjI5fltIH9h ub5A== 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 y8si10940752pgr.89.2019.07.22.22.10.30; Mon, 22 Jul 2019 22:10:46 -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 S1731801AbfGVTN1 (ORCPT + 99 others); Mon, 22 Jul 2019 15:13:27 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:48016 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726897AbfGVTN0 (ORCPT ); Mon, 22 Jul 2019 15:13:26 -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 5096B15258BBE; Mon, 22 Jul 2019 12:13:26 -0700 (PDT) Date: Mon, 22 Jul 2019 12:13:25 -0700 (PDT) Message-Id: <20190722.121325.1405627302654065702.davem@davemloft.net> To: hslester96@gmail.com Cc: linux-usb@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ax88179_178a: Merge memcpy + le32_to_cpus to get_unaligned_le32 From: David Miller In-Reply-To: <20190719090714.19037-1-hslester96@gmail.com> References: <20190719090714.19037-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:26 -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 17:07:15 +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.