Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2863062pxj; Mon, 14 Jun 2021 08:51:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycqqM8dk2c9TfBjrh/26q59EVMOOUTz9p08K1yvGpsKeF/AzwfiKZI4HtEbAOlfnf4fIrm X-Received: by 2002:a17:907:1003:: with SMTP id ox3mr16091896ejb.469.1623685865667; Mon, 14 Jun 2021 08:51:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623685865; cv=none; d=google.com; s=arc-20160816; b=wbFvyCQP0/j1KS2NVXV/Dp0w4jPwHTGBcfUUZsqn68RdJw+sOzukbuImqMQK8XMSw9 qRnNqcsWselEbHdx6CMsaPtQjK5RtAw2+YbK7mo7iD3CDRdft5Hv9839h4F/4MBC6p1Y cjkmxTLw9tJqahq8ljotF/72Ag0EskdgzyjE+AP/29gpc6lD8IhFKQ4OreeAcy0AEltI KWJfR44hPoseyTuyXuTr9rcgcBM/m/GaT5X20exq5CbHBb4ZfKX/fS2lSDL82HfWt8x+ i9tUkLlANk/i6uMHWk099bir/Ntl6C4m8ljutqTdSdDSOzPKHH158V9ZJo//gK3J4nvK 4jew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dmarc-filter:sender:dkim-signature; bh=5pyRclwcm2/LSGhYfSsEWdIddpSVgZ8qFjIq5uFIgaU=; b=qnX8qjCZbaZpUaHzT3YtGR33LQn3UxYW6nZLJWoeYf0s966Vh/qkKDcb3mauZ/a8dN Vl6EdIg1016yrnBzokqVmwfXYvttyaNVLqGQ0VFwKhV+LvzdTzaSgcuKQzKHlOAxfaTO ZlMPm6rHmX1exsV6ZMPFHhwt/2OcXY2JIs933gGWoBVSszLYy4vXcyP/W0GvcHq2zPT+ 0uFVevByRWBkgIXRdfebxdnnIX+mDpzl5OeTuvXI99+YkzB+DfTYnUYGNpnvsqeWSnxt Pq3k6bA0qV/kT269E62+FcsB7f9slHcLSOaOFTSHjOMRGQRte+tjMxEDH15vrUJj6lN8 aa0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=U3ouxpKO; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 a25si11907980edt.496.2021.06.14.08.50.42; Mon, 14 Jun 2021 08:51:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=@mg.codeaurora.org header.s=smtp header.b=U3ouxpKO; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233779AbhFNPwi (ORCPT + 99 others); Mon, 14 Jun 2021 11:52:38 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:18595 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233035AbhFNPwg (ORCPT ); Mon, 14 Jun 2021 11:52:36 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1623685833; h=Date: Message-Id: Cc: To: References: In-Reply-To: From: Subject: Content-Transfer-Encoding: MIME-Version: Content-Type: Sender; bh=5pyRclwcm2/LSGhYfSsEWdIddpSVgZ8qFjIq5uFIgaU=; b=U3ouxpKO3SfcmNqkeDPboFq0paDT9xgyg6Vwd3uHSvvAqDSL0fzB5FAbGqwbJiN2ubO9i+WE MayYgPc1pmwJ3t/YtbReqLNeeLotzRaIiXzXplr/9sRUgMxTN5mjh2r6uNwuA2WuXHpfAdks 3BsNNl9FskBwmk2TZJqQgL664NY= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n07.prod.us-east-1.postgun.com with SMTP id 60c77aa7e27c0cc77f78c734 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 14 Jun 2021 15:49:59 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 525A0C43217; Mon, 14 Jun 2021 15:49:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,BAYES_00, MISSING_DATE,MISSING_MID,SPF_FAIL,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from tykki.adurom.net (tynnyri.adurom.net [51.15.11.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 29E98C433D3; Mon, 14 Jun 2021 15:49:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 29E98C433D3 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [wireless-drivers-next,1/4] wlcore: tidy up use of fw_log.actual_buff_size From: Kalle Valo In-Reply-To: References: To: Russell King Cc: "David S. Miller" , Jakub Kicinski , linux-wireless@vger.kernel.org, netdev@vger.kernel.org User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-Id: <20210614154958.525A0C43217@smtp.codeaurora.org> Date: Mon, 14 Jun 2021 15:49:58 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Russell King wrote: > Tidy up the use of fw_log.actual_buff_size - rather than reading it > multiple times and applying the endian conversion, read it once into > actual_len and use that instead. > > Signed-off-by: Russell King 4 patches applied to wireless-drivers-next.git, thanks. 913112398d5e wlcore: tidy up use of fw_log.actual_buff_size 98e94771cadc wlcore: make some of the fwlog calculations more obvious 87ab9cbaee7c wlcore: fix bug reading fwlog 01de6fe49ca4 wlcore: fix read pointer update -- https://patchwork.kernel.org/project/linux-wireless/patch/E1lolvS-0003Ql-NJ@rmk-PC.armlinux.org.uk/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches