Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3341166rdh; Thu, 28 Sep 2023 08:56:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEjAnYYDgy6Zdyk7k+xnH9EoMfO3AOb55rs0DPZ1ddqCyAU5mud43pdlOEwShraB+sBNmVv X-Received: by 2002:a05:6a21:272f:b0:14c:628b:4b98 with SMTP id rm47-20020a056a21272f00b0014c628b4b98mr1296893pzb.4.1695916617262; Thu, 28 Sep 2023 08:56:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695916617; cv=none; d=google.com; s=arc-20160816; b=dkzTGWLt6qZYeeXAeHHqy0TKxXtn6IGAo+H7pV04JCZELVzBgneMQQRcwymI6gZV94 IcvO4p/G+x/AUfUT8p+CWjn4esedcluqMomTwvv+v+mv5vr6pMP3+3JxNz4OUfr37V9L PlJgFjySrNmOAxqL7/KU2Jm4Z3AHbJd0HdDJTu02lwKWSCdFCAv8LCvokLG1KM5yYPbD +imwnPphZFZa0nqLAXFg0KUXpCMfMnQoAuYEfMxeMmoSpFXUSYqW4CueUwd0Aq8WZG1P sjt6n5eIDEWeJH453mov1CbOwe8K0TR8PZlYiq/ATtNjv7PY4mqEz+RCEzFwFB+H+DN1 OMVQ== 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=ml4oOd4BS/o1HSBMCkg54g7UPlUQE5YljISvexUSoN8=; fh=3PzQ7YmQdud92HTjNJ2cm/qHb7483+m1tDtif5QOeIY=; b=n+lrHYVZuZqXHSO0J8fxY/uJ3lnLJMTy5qFitod+KMSwsLMBm1A9uW8aWC5fX+yNli 7T+mkyfP7GtfCcYKjS5OX6Vhrh7U2tTKy+2Kc147OqK73qadHIdLSa+rmpk5Lreay0fj ihXO3yVvfhYoWOxLQsADVppOlekVSHv2tn+TjKbW1AB9JILCTCpKpWKkcGbhiu7f1JY6 WxLKu04H122zogCk2FrN2EK7C/jT15n+uBZJS1k/Y/ynE9gELGmLuLw2asFmULZxZp0Q Q1Ebu46sA6Uhg5kIVickAulf+6yXA4uv3viCUg1p6sfceuoAAQAS6W7OMKRB0TEuX79p DMwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mf8uvYje; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id p19-20020a056a000b5300b00690d7da742fsi20448166pfo.364.2023.09.28.08.56.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 08:56:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mf8uvYje; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 6B6E880FCE6E; Thu, 28 Sep 2023 08:47:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232045AbjI1Pq6 (ORCPT + 54 others); Thu, 28 Sep 2023 11:46:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231845AbjI1Pq5 (ORCPT ); Thu, 28 Sep 2023 11:46:57 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0520D6 for ; Thu, 28 Sep 2023 08:46:54 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37F9FC433C7; Thu, 28 Sep 2023 15:46:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695916014; bh=KCQCIRbsa1m6qTWh9HIbZJWA7KSkVBIONtP4ro1bci0=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=mf8uvYje4sSGnByBOhDNCm480tZwXE8q+Bk01qYVSZFutC9p4vlKhrvF3QD7dPo77 0KaYfdkRDWh3IqKbaOBEYnCPZyiTehqt6Erz6YQEicAJOaZQ//LeSY1MpDbXHjijEF thZj4J2TAdrXg8nN8cnCe8OGA8zi8IrxvTddpCpq24dtjw41iDTceeGXPMj07SIMN2 5NOCuf7YSsIA79ffkZG5fY71ww4j9rydoI65DnXI28j7Smm8hEnzm/dXI5sIMphVBg m9Mt1Wz/w26O8uuoiTDZPuBD9XzkcAxXB7Hq4iN5MOWgVIIFvjbxqtC19dc7ruwunU 9o57+43RnaPLA== 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_dp_rx_mon_dest_process() From: Kalle Valo In-Reply-To: <20230907083852.10775-1-dmantipov@yandex.ru> References: <20230907083852.10775-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: <169591601112.3096214.11174520645995155662.kvalo@kernel.org> Date: Thu, 28 Sep 2023 15:46:53 +0000 (UTC) X-Spam-Status: No, score=-1.2 required=5.0 tests=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 agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 28 Sep 2023 08:47:00 -0700 (PDT) Dmitry Antipov wrote: > Since 'srng_list' is a fixed-size array of 'struct hal_srng' > in 'struct ath11_hal', 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 Failed to apply. error: patch failed: drivers/net/wireless/ath/ath11k/dp_rx.c:5094 error: drivers/net/wireless/ath/ath11k/dp_rx.c: patch does not apply stg import: Diff does not apply cleanly Patch set to Changes Requested. -- https://patchwork.kernel.org/project/linux-wireless/patch/20230907083852.10775-1-dmantipov@yandex.ru/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches