Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2318216rdb; Thu, 21 Sep 2023 15:18:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHTPhS48fh8/MhZrE37lcurh4rQvtqpGU2NnLnQTgWgVPcgeVLSjZIiQADeSNvyI9+GO1wn X-Received: by 2002:a17:902:db02:b0:1bf:8779:e045 with SMTP id m2-20020a170902db0200b001bf8779e045mr7491162plx.50.1695334702405; Thu, 21 Sep 2023 15:18:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695334702; cv=none; d=google.com; s=arc-20160816; b=e4133f/tPnXXpRoF8uTrIHyeIl6f+9/x8WbAKiaxnC2RTcAHFtiRgCuHdMiWkmYE71 peb27nHLrGRadncu8wURabK5I4isXS6MwkzcEPrLqp3DTw7CUy1ILhIkaDW+yxNiTmv6 Ce1BwEbroPnnVZlamZBuOHQ47yD0EMq+HYj6u5wQLKKnwm8NhLutQq/yYV7cPKvveqZc P2YTnpG/kkMD6/H222MCQMijX0uZ+K69msIAKvYeY6kNazxd90ntwl76RH+q/yfSvTS0 JqSsk8ruNptamXFbYfBrLXrul5VcRy6fHdBr3jdIk7Ggmg0Uv+PTbrj9J9KIk3Qh7AZ8 Oiew== 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=c9yN08XPGsAA6Dcd9FQIvYDFkFq0ur1j5Mj/sQ/+D3o=; fh=3PzQ7YmQdud92HTjNJ2cm/qHb7483+m1tDtif5QOeIY=; b=BenVTEA5lvfBV3aWb8FTOe24iQax5K2twVnoShm1yhxf+A3bf68hIF/1Dv1EhdNaj/ yUrLztP+B128xbGxda0lLdBNIfBey/jr14EnWlHE0BD3S9p11zrR/919XE9vbjGUyYjS TvoLCaUDZgpwDbGJnsQ/0tcQLdXEYN2Tf7gkPhmopof+tnFmbyEL8uVCi1FPupSEzO3M 5bi+9cogI6jfLO0SEe4lICLuWnwaCi8Ph7zF190fRZn7Zb9540H4V6IJLqWiwAIbk6JM uyPBZTsUQnbCOG7j3DkJNF99Kism5nUtK5gg0yNcf9+IJx+dd4DEdW+34spb3lfULjeH +ZHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ei62OwSI; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id x18-20020a170902ec9200b001b7ea20dbf2si2523704plg.224.2023.09.21.15.18.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 15:18:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ei62OwSI; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:1 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 04797837BE41; Thu, 21 Sep 2023 15:11:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233033AbjIUWLh (ORCPT + 56 others); Thu, 21 Sep 2023 18:11:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233005AbjIUWLN (ORCPT ); Thu, 21 Sep 2023 18:11:13 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E78883F64 for ; Thu, 21 Sep 2023 10:37:18 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35AB7C116B6; Thu, 21 Sep 2023 08:13:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695284006; bh=w9s/3KqBpjc+F0htGHCCTEf8hPrclIy6Ux/UJYVbORQ=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=Ei62OwSI5BJtGMKOvLHwcgpMcK03iM0jFtMjxnhziKeQ6VyBRnnPr7mlFLqaa8aK4 0rmGiTaP5je9/33SGtvX1mqGzCoASfdKaZ5VznUz+YAnXNB1LcRc0ePrVdsTilJYqk VYoTonLcgmMIIDbVtVN6XiUOjP489vTCNCK4SDrqm0enm4PgZT2acobznd6LnSVl2X SBouwkYil8zhOdewkLFtgTGXtxZmzcIbxFDMKJqdMSDDJQtILbnFIGTZcRmZNN8zDp AeYvgU2S7qX9ZI1Ledk+BNcDabxA4izd7LHgge275L9RHhSJkwv+Z7Lx6XzKHXn1WW 4SyzIwcp2FCRg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: ath11k: drop NULL pointer check in ath11k_update_per_peer_tx_stats() From: Kalle Valo In-Reply-To: <20230906093704.14001-1-dmantipov@yandex.ru> References: <20230906093704.14001-1-dmantipov@yandex.ru> To: Dmitry Antipov Cc: Jeff Johnson , linux-wireless@vger.kernel.org, lvc-project@linuxtesting.org, ath11k@lists.infradead.org, Dmitry Antipov User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169528400337.1539628.7739014266024869825.kvalo@kernel.org> Date: Thu, 21 Sep 2023 08:13:25 +0000 (UTC) X-Spam-Status: No, score=-0.1 required=5.0 tests=DATE_IN_PAST_06_12, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 21 Sep 2023 15:11:42 -0700 (PDT) Dmitry Antipov wrote: > Since 'user_stats' is a fixed-size array of 'struct htt_ppdu_user_stats' > in 'struct htt_ppdu_stats', any of its member can't be NULL and so > relevant check may be dropped. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Signed-off-by: Dmitry Antipov > Acked-by: Jeff Johnson > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. ac13a7842ab4 wifi: ath11k: drop NULL pointer check in ath11k_update_per_peer_tx_stats() -- https://patchwork.kernel.org/project/linux-wireless/patch/20230906093704.14001-1-dmantipov@yandex.ru/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches