[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<173959143126.2183234.5450052888067824074.git-patchwork-notify@kernel.org>
Date: Sat, 15 Feb 2025 03:50:31 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: michal.swiatkowski@...ux.intel.com, anthony.l.nguyen@...el.com,
przemyslaw.kitszel@...el.com, andrew+netdev@...n.ch, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
wojciech.drewek@...el.com, jacob.e.keller@...el.com,
intel-wired-lan@...ts.osuosl.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH v2 net-next] ice: Fix signedness bug in
ice_init_interrupt_scheme()
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 13 Feb 2025 09:31:41 +0300 you wrote:
> If pci_alloc_irq_vectors() can't allocate the minimum number of vectors
> then it returns -ENOSPC so there is no need to check for that in the
> caller. In fact, because pf->msix.min is an unsigned int, it means that
> any negative error codes are type promoted to high positive values and
> treated as success. So here, the "return -ENOMEM;" is unreachable code.
> Check for negatives instead.
>
> [...]
Here is the summary with links:
- [v2,net-next] ice: Fix signedness bug in ice_init_interrupt_scheme()
https://git.kernel.org/netdev/net-next/c/c2ddb619fa8d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists