Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp6004395pxb; Mon, 14 Feb 2022 12:55:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJxh6tiqh+ezMK2wN6A3Bm6PHimPkNz0kz3VSAeaHwkmbPfISXWQeNQ94pJqhd137fye1YCi X-Received: by 2002:a17:902:f789:: with SMTP id q9mr582255pln.135.1644872152107; Mon, 14 Feb 2022 12:55:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644872152; cv=none; d=google.com; s=arc-20160816; b=UKrAcu4ZBtcdmONE6jLhhQEWLu8fT9OBSbrRmZNSBd8663ikpSu+v3zUC/ttobKwBa dL4CilXiT2gisos/Jkf8Hg/Bih5Pgx2PK+QZasqo/frevRB375t1crRcDcoyuwoMO3Ek fjGYwY2gr0lHRp47d8Dfyb6MWNZNBLzayVhRYxUY5QeAtxRBqHoerKiuWikJ3G4YidD1 e0FCzavxs/E3pGvBqDecGOGc8IyP0W9X+fpFjIgcExD4bb1EiKc1Ep4QhrsKv6IG8GTl Fa5RNs2xWgFo8tByEOf40W6XFWKd7rfRrgWTf3YL6PCfbvUYELVNnYZjPiRdV5irwYpv dl1Q== 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 :dkim-signature; bh=nNv7XECWl5p146X3MGx5njsk3ke8SF5hyY1GerS2vdg=; b=kEIE3wujb8U2az5VlHvedYF02QmZtNCHvK56sdCXMq6tlpAYOZqW597CC1EDwuo0wJ PgMFDudYVDRM4Wszc5Ds+da+ioFbUUS0mNQcJN7Hjie57y9SmsKoEadLMSPCI804l/9v jJ7prXnDphW5BzET3N175Hgs2viknXwHegR92C1e+/mFe6lnPqHysF0Na8oZ9vVN7VAs ziswRf53tg5ViFNfOBzFzNL2z+yHE0p67MqmruAthLxo94tkeMJkSvslPwJZpK51Qn2o e1hDtPZNH3FV799PqliQbSOPgqHHXwsLAalmvDXgSrjthC7flOlwkHMthJjZd6w96+Ko hXkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ivJdt0ZZ; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id s7si12506646plq.462.2022.02.14.12.55.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Feb 2022 12:55:52 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ivJdt0ZZ; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3704B1DED6E; Mon, 14 Feb 2022 12:19:22 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232971AbiBNRp7 (ORCPT + 72 others); Mon, 14 Feb 2022 12:45:59 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:36616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231684AbiBNRp7 (ORCPT ); Mon, 14 Feb 2022 12:45:59 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 396AC65439 for ; Mon, 14 Feb 2022 09:45:51 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id C8298B81195 for ; Mon, 14 Feb 2022 17:45:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 775E0C340E9; Mon, 14 Feb 2022 17:45:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644860748; bh=JOBmuLpYMO9AGh+G2jtHoYb6XFhfIGc6Qj+i753pEGg=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=ivJdt0ZZiwQbjYsBtB6FlyUwfNUmMfbLG7tk72s6lqp5mROYpk/0E7T0ewKbyvugn t4H7gpgO0emUdXw2MRlrgD3RWa9kzg9e4n/tl63+cTqD84id+xixDfqI9HkbmHpLEE 3NkS/r3ImBZYyDAblm+qk6elKDL+PGOSRakalfKrAvFJVGxUdCqjRb5r9p7LDmfTqL sWhN3RPwSP2Q+hzHqsW/UAl6TEa3u9iOkA4rLYiV8/KYuOtamYi4JKi0FK+Qc+xiTs E4VxpRUcNZMAaeaFhP35f3JeLPqDgO2d0t58lNODDQXeFJINJ2ZduRGWq5su6niAm+ N917D4zEG/7uw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] ath11k: fix uninitialized rate_idx in ath11k_dp_tx_update_txcompl() From: Kalle Valo In-Reply-To: <20220209060816.423-1-quic_wgong@quicinc.com> References: <20220209060816.423-1-quic_wgong@quicinc.com> To: Wen Gong Cc: , , User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <164486073463.4355.2988755414965557803.kvalo@kernel.org> Date: Mon, 14 Feb 2022 17:45:47 +0000 (UTC) X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Wen Gong wrote: > The rate_idx which passed to ath11k_debugfs_sta_add_tx_stats() by > ath11k_dp_tx_update_txcompl() is not initialized, add initialization > for it. > > Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03003-QCAHSPSWPL_V1_V2_SILICONZ_LITE-2 > > Fixes: 1b8bb94c0612 ("ath11k: report tx bitrate for iw wlan station dump") > Signed-off-by: Wen Gong > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 8c4c567fa291 ath11k: fix uninitialized rate_idx in ath11k_dp_tx_update_txcompl() -- https://patchwork.kernel.org/project/linux-wireless/patch/20220209060816.423-1-quic_wgong@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches