Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2829973pxb; Sun, 3 Apr 2022 23:21:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfMIa/YVJCDzP5enJQJy5oYsu3dKPbOtHf3WNFqqdd44NXe5DZRpLk/fff9vXN8bMuqiVs X-Received: by 2002:a17:907:da6:b0:6e7:f84e:75b7 with SMTP id go38-20020a1709070da600b006e7f84e75b7mr939915ejc.89.1649053273465; Sun, 03 Apr 2022 23:21:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649053273; cv=none; d=google.com; s=arc-20160816; b=wYtwIvo+3AsteymHudqWjZTYM8GZbhQj7OuWGvYFYs0JS54yMZxYVbzHwoHVUfVQoo c7Dxx+GsB2BsUoqX1ET6SOe83voKbJ2jgPKNHE3W4UM91SJ//t0lPGoG8vmgwOzI3Wvj sH6EEdVrmFtD57HxcpK6eXwFyz6Xxw2b1Yd5jCRqLsW9MK8s5515U+na2PbDjRN2xfqr sYE7c57bDCR9JlVBCi3dsMlSib3Iga6hAU8T4fUS2IETFf1UYrdxTcFm/HNqwPKvcXB/ 94GX8g047Mwi4UOaoFa6WFOoMMJuMCZY5EfBqU5WisU3U58abwsXS1UCJv7HHSAsmgWT Effg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=fmUDBYQeN1f2sAmK0Qz8MUaQWATqIMgERtpHBG4LaDk=; b=mRFy0TzcRZmp/0ZRzp1oKL2v6uyN3uHJLqkb9Q1KuM1WybLv3UHTyxddCcxo+mbcxw 4ThiyxANbv1VNvYL3eXOrFBqDC6hwlak+av5IHN+lP/JDBCbe+x/JA6NC8b1CxDswdtM HaDwuoYUOZMBh09kcDBhRnGXJtl0jKff+D8zAh3JjXqFZcb/OVCc7xhuE0ay+QFh0BA1 w7tqZMuwNvej41U+7d9ZJXzTULd4q8p2PGEnKy4WTQb/KfqpXfS8zhrjRvPf/PX9QLGb JRWZ7QQpsZCbt9hF7Q2cuknskVbwYMAF+cGCD6WVDexEwmju5lKQkVmCev79WofqGsXN RMEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LP3LthIE; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s7-20020a056402520700b004191e2c82d0si6880906edd.2.2022.04.03.23.20.55; Sun, 03 Apr 2022 23:21:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LP3LthIE; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244448AbiDBRrw (ORCPT + 68 others); Sat, 2 Apr 2022 13:47:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235796AbiDBRrv (ORCPT ); Sat, 2 Apr 2022 13:47:51 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4A6D107822; Sat, 2 Apr 2022 10:45:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EBF6360C3D; Sat, 2 Apr 2022 17:45:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 255D5C340EC; Sat, 2 Apr 2022 17:45:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648921556; bh=EXKdnrGXgdUcHASa/vW5gEsZitzdLSnKZveTRuHY4w8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=LP3LthIE9CaKA8RRUx2z6SSQ5rYMHgqdO0/HzlYX4WbXN1y3JkRaYBSAE7h0Dz4/c D3e+8UKlAEMdPIAPpJ9xSRc7sHQvlh0HAOFUkhvN0cAdixD74neFA4xT79eFq1uwTC UQA9a8jyyMz3YzGGvn5LphPv26R+38NLzasleZ0v0kXjTq5TjX4kOjpFbXd0nOCFPd iR3Mbht3osjaDwY75FjYVnRxGvYbBbiZaO/JB+ggCBqjZXbDU8ogp8Ngk+Bx7uapSa wPvHBIFdY+hfF8KTaXerN/Ro/5r5UP/4rr4YvJ36wRBSgDptyH9U+buemdZgAsTZLO /CS+lbo+MBF4Q== From: Kalle Valo To: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= Cc: Johannes Berg , linux-wireless@vger.kernel.org, stable@vger.kernel.org, Peter Seiderer Subject: Re: [PATCH v5.18] ath9k: Save rate counts before clearing tx status area References: <20220402122752.2347797-1-toke@toke.dk> <87lewnfwyg.fsf@toke.dk> Date: Sat, 02 Apr 2022 20:45:50 +0300 In-Reply-To: <87lewnfwyg.fsf@toke.dk> ("Toke \=\?utf-8\?Q\?H\=C3\=B8iland-J\?\= \=\?utf-8\?Q\?\=C3\=B8rgensen\=22's\?\= message of "Sat, 02 Apr 2022 15:15:19 +0200") Message-ID: <874k3btm41.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Toke H=C3=B8iland-J=C3=B8rgensen writes: > Johannes Berg writes: > >> On Sat, 2022-04-02 at 14:27 +0200, Toke H=C3=B8iland-J=C3=B8rgensen wrot= e: >>>=20 >>> @@ -2591,12 +2602,6 @@ static void ath_tx_rc_status(struct ath_softc *s= c, struct ath_buf *bf, >>> hw->max_rate_tries; >>> } >>>=20=20 >>> - for (i =3D tx_rateindex + 1; i < hw->max_rates; i++) { >> >> might want to drop that blank line too :) >> >>> - tx_info->status.rates[i].count =3D 0; >>> - tx_info->status.rates[i].idx =3D -1; >>> - } >>> - >>> - tx_info->status.rates[tx_rateindex].count =3D ts->ts_longretry + 1; >>> } >> >> since there's nothing else. > > Hmm, fair point; Kalle, I don't suppose I could trouble you for a fixup > when committing? :) Sorry, editing the diff is more difficult for me. It would be easier if you could submit v2. --=20 https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatc= hes