From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CAAA13EDAB1; Thu, 25 Jun 2026 16:21:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782404473; cv=none; b=cZgo8QY+yX3CtLQsAYvhGERpIRgdHHIG5g6Z3JEF0jqkAtG7TnbBds7Dv2Ab9DRLcS1emH2AdsFPB/tvzm6YKkgx1Qt32LK30XYymd1Z49ZlqSzetji0VoqnsJ79I6zdx2AqYEyjEjkKoVjwz+GwtYqQqWL27m60RWJWRBQTObo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782404473; c=relaxed/simple; bh=YN08UWBdkyyc1Hf8Mluj2zNVgcnCyZOAW1EP3N3qaHc=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=hQ36Fv8QezaLpc0jD4J/M/m2qZmzuBkWrlX0n+yhZj89a4rXM1JpsOn9Ap3dxrZs/TaF3Z6IatAE52TD2pF8ZTYOW25F15xZCLodBBLiEgiwkxqpiqwGT3ch65VqLinEOk2Q+fNAS7L9a7dKSB4wPclogm2o+x1aShZ4qJq7QZw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Azc0EV4o; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Azc0EV4o" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA7E71F000E9; Thu, 25 Jun 2026 16:21:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1782404472; bh=XxiZ1wHM3ANnlh39A/D4FkP6dgtvNEO7QZKv89EiFn4=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=Azc0EV4o6nqtreFURXbzfgHNPNvzJQI/nKsnHTW1CpTkfiL93FplY8jgpBZuWMUUz 8w3KgGBbVyhOO27GOtm0brY7enkrCf/PqtsvRFTID0BE0CvQfInGwk3z/vsk73xzjh T2Phs2MqQkiccwCC3OWkc85JQSYstTBfcqhMBiZCnBpx/SjAqPiK2/0OlSCC6EymDU wFIlYKsgezOwdyAvxMNqMt2TCFH24fztGm/EhBKLiaPmlcGLbpyVkxxc9lasMZ27+e Nv1aouk8EX/WyTIjeveDPspv4t3MhV7OKuNitIZbhZ9Gm5KblQicc6y844A/UOdau2 uxU/wRMECj+eA== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 9395B3AD449A; Thu, 25 Jun 2026 16:21:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] net: enetc: fix potential divide-by-zero when num_vsi is zero From: patchwork-bot+netdevbpf@kernel.org Message-Id: <178240446029.3803792.16487953963500361613.git-patchwork-notify@kernel.org> Date: Thu, 25 Jun 2026 16:21:00 +0000 References: <20260624072726.1238903-1-wei.fang@oss.nxp.com> In-Reply-To: <20260624072726.1238903-1-wei.fang@oss.nxp.com> To: Wei Fang (OSS) Cc: claudiu.manoil@nxp.com, vladimir.oltean@nxp.com, xiaoning.wang@nxp.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, Frank.Li@nxp.com, wei.fang@nxp.com, imx@lists.linux.dev, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski : On Wed, 24 Jun 2026 15:27:26 +0800 you wrote: > From: Wei Fang > > For i.MX94 series, all the standalone ENETCs do not support SR-IOV, so > pf->caps.num_vsi is zero. This leads to a divide-by-zero in > enetc4_default_rings_allocation() when distributing rings among PF and > VFs. > > [...] Here is the summary with links: - [net] net: enetc: fix potential divide-by-zero when num_vsi is zero https://git.kernel.org/netdev/net/c/5da65537792b You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html