From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796181016; b=bYMA+VrpuvhR9QVKUgBhV2KM4MA/r8wpYRDFyYt8qk6ROini/8U2Vca5f31XNS+qaJZ1 EHg1VMMSRZ30wshTaNo/v3Q5rAYeO0YQqsOIGHrCtDY+6AK4h6/YDHdi00fes5RakLuEk +R3Gv8jGK4uYGy3r11GYYWWn0k/u1hLQEMQwCCCv80jUY29bUVRaunLY3Cmwpnp8ALCvA dP3UqQ32RU2GqJ+EbX+l57KDT9OPjFf8tGHIvo3ewMaARPUiGnuSiNmqScwEl64Sa/P7d KJA2etK7nipu0mLEWqVrjEEd5AIygtMfvwLJFmg5jkQDWL7qKnfBPizXNAlLStigOJg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796181016; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=0Z32y1kkKE07cm+b1BJ/u5CAfg/xzgGs+odb0uGJhEw=; b=jMjjBwOnSBAEiFPiuZb3xi09eXVx5fXXMON2FAedPSwZmIsmVVTMggyzt91YP5zMWrpS Z0rozDcxjfxp2hZGdqTze9Mbq4CuCvOdvh+RnwW2QBr3s+Q62buLHk/2+WiXij7jPiI1r FgHQkcJKSUNEHkTsUnC9p1izJMekdaapFKhF5TQZPSJ0NE+QK3PRK0R5yHjRqNctSLDHb GNAVfBfXnHn1gbunZi24OlFATDWUJdLLsU+VNNrmNfQkM5dueEHN/TTPLKOGhyauplrmq 9jYx8prveNFShq2XEUj4vf2ClqPphVRGc2Nbi2nD6jBz37Af1iZgYmN58q8HB1N5wrQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=SDFytq+L; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 05792606A332; Wed, 2 Dec 2026 03:10:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=SDFytq+L Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B8821F00929; Wed, 2 Dec 2026 03:10:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796181015; bh=0Z32y1kkKE07cm+b1BJ/u5CAfg/xzgGs+odb0uGJhEw=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=SDFytq+Lv0c//crdbs2xTQi8MC+pPeLA6yxxfGup5AZldzlcGlsE0i+xhXiODiqYo wG8MEobf+ovs71vOthSDjs3eZ6aUzttcKTg4cWSrACD9fCgVNwsnwOTzTqBuWACEq9 ZI5k6UbHGL2um/OBG2l5BtZJyZ5cLDwjlEyXVuT+GAd3bGYKzquikERCWMJZT0PliU J8N4Vi7gayKji2XMoK5N97kwoZQwLh9g5yVeGceVZzdi0B6S2N+KjO8VFdLJMD+vn9 JLTr7VWvAoQhTy+S4Au1+cpRFTJxDT/EmehakbpuMiTW4rbBHz9GW68hppDOyxUpli LlWU2XEHzNvQQ== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 71729380821E; Wed, 2 Dec 2026 03:10:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" X-Mailing-List: llvm@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net v2] octeontx2-af: Fix uninitialized variables in MCS alloc handlers From: patchwork-bot+netdevbpf@kernel.org Message-Id: <179618101399.1147029.15480626499963940809.git-patchwork-notify@kernel.org> Date: Wed, 02 Dec 2026 03:10:13 +0000 References: <20261125004227.1007723-1-irogers@google.com> In-Reply-To: <20261125004227.1007723-1-irogers@google.com> To: Ian Rogers Cc: sgoutham@marvell.com, rkannoth@marvell.com, gakula@marvell.com, sbhatta@marvell.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, elkin@google.com Hello: This patch was applied to netdev/net-next.git (main) by Willem de Bruijn : On Tue, 24 Nov 2026 16:42:27 -0800 you wrote: > In rvu_mbox_handler_mcs_alloc_ctrl_pkt_rule(), switch (req->rule_type) > has no default case; an unrecognized rule_type in a PF/VF mailbox > request leaves 'offset' uninitialized when passed to > mcs_alloc_ctrlpktrule(), allocating rules from the wrong hardware > partition or failing spuriously. > > In rvu_mbox_handler_mcs_alloc_resources(), 'rsrc_id' is left > uninitialized when !req->all and either req->rsrc_cnt == 0 or > req->rsrc_type is not one of the four handled types, evaluating > uninitialized stack memory at 'exit:'. > > [...] Here is the summary with links: - [net,v2] octeontx2-af: Fix uninitialized variables in MCS alloc handlers https://git.kernel.org/netdev/net-next/c/5bf78f7ba087 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html