Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3456246ybi; Tue, 2 Jul 2019 08:06:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqzGdmk2BWS1mXLxSVfD5uxFy8UMe9Z1PHMU+bYO/6ZCyGJ5ITbart5WBxmhOVahSAFXpsjc X-Received: by 2002:a17:90a:214e:: with SMTP id a72mr6340539pje.0.1562079997349; Tue, 02 Jul 2019 08:06:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562079997; cv=none; d=google.com; s=arc-20160816; b=a5QRRuQxdH4PMXaVD2G7GZYUDbJ7b0IFn798xDig4N99f1DcpBz1T9MtfPl5U0T8Se lDolg0BOb/3tpynA+Ysi8SpA82j5TNm2bNCgLf/jjKOcg8bNmKxCEVhUOz/Y8hpFaIV+ tdiufIELzWjOG9k5LJEoB0eJEQplqOPMhWv1xZqKEqH+Ukt011IofXajQsutAaEkhoXk zgRm7eR7bWYqfwsqZ7VTJmDDi9O/R3k1mubgS7ZIpUopXbTuLLV2VUYjP8qszGtDbyem gxaji3vrHncRlVqilTaqDweoTz4gyyI/LQrmcWgd8Dg86PwVoSNDHkhcAM/0LkBRIGll k5Vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=bilP/aKSYVW0Ibm+qSdMdoC5MYBByBHVY5L2cpZf5n4=; b=EjBIjp2BFwKXcqycLDXT+gJsGgHcIvLYwaH72wEVJpby5I+z8L9I/Tk9c8a3RShOqT vxSTlrdkfc8tBrbSXZhk3lTg8HPItd0p1O+dS+taBQ0vIoA4/uKOy6ApsqpL4GJD7n1p tdCqXaVMdwrTxoQh4fa1COahKLZhvsg9/BKKcyTDS4u8vH93i24oasSCxCLaMtqfJ3rx rjygAVo7jIpECOr4+KoHy5RAW+eUUkKDrkVgfDawXTkVG18mydRXSlBBubuoCCgi+Duo sEgvZhu1JXAIh/7loFi4TITIa6TEKFAzHjkmdnyi8LyOISaOELAwyTAe9JUgT3VvLD3z AhoQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f33si2403640pjg.81.2019.07.02.08.06.12; Tue, 02 Jul 2019 08:06:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-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-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725851AbfGBPGM (ORCPT + 99 others); Tue, 2 Jul 2019 11:06:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44740 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725767AbfGBPGM (ORCPT ); Tue, 2 Jul 2019 11:06:12 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0588B3091740; Tue, 2 Jul 2019 15:06:07 +0000 (UTC) Received: from localhost (unknown [10.43.2.9]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7CBC65C29A; Tue, 2 Jul 2019 15:06:06 +0000 (UTC) From: Stanislaw Gruszka To: linux-wireless@vger.kernel.org Cc: Felix Fietkau , Lorenzo Bianconi , Stanislaw Gruszka Subject: [PATCH 0/3] mt76: usb: alignment and endianes improvements Date: Tue, 2 Jul 2019 17:05:58 +0200 Message-Id: <1562079961-15527-1-git-send-email-sgruszka@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Tue, 02 Jul 2019 15:06:12 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Fix endian bug and do some minor optimizations in mt76u_{copy,rr,wr} . I do not mark cc stable endian fix as noboby reported this issue, i.e. use the driver on big endian machine, but make it a separate patch, so it can be backported if needed. This is on top of: [PATCH] mt76: round up length on mt76_wr_copy Stanislaw Gruszka (3): mt76: usb: fix endian in mt76u_copy mt76: usb: remove unneeded {put,get}_unaligned mt76: usb: use full intermediate buffer in mt76u_copy drivers/net/wireless/mediatek/mt76/mt76.h | 5 ++++- drivers/net/wireless/mediatek/mt76/usb.c | 27 ++++++++++++++++----------- 2 files changed, 20 insertions(+), 12 deletions(-) -- 1.9.3