Re: [PATCH net-next v2] net: pktgen: return bool from __pktgen_NN_threads()

From: patchwork-bot+netdevbpf

Date: Tue Sep 29 2026 - 09:33:43 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Sun, 27 Sep 2026 21:54:05 +0800 you wrote:
> Callers of __pktgen_NN_threads() only check whether a pktgen_dev was
> found. Returning the pointer exposes it outside the helper even though
> neither caller uses the object itself.
>
> Return bool instead and keep the pktgen_dev pointer internal to the
> helper.
>
> [...]

Here is the summary with links:
- [net-next,v2] net: pktgen: return bool from __pktgen_NN_threads()
https://git.kernel.org/netdev/net-next/c/2a5043c8b7d0

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html