Re: [PATCH net-next] net: lan966x: cleanup error handling in lan966x_fdma_rx_alloc_page_pool()
From: patchwork-bot+netdevbpf
Date: Mon May 25 2026 - 16:01:48 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Thu, 21 May 2026 15:49:36 +0300 you wrote:
> This code works, but there are a few things to tidy up:
> 1. No need to an unlikely() because IS_ERR() already has an unlikely()
> built in.
> 2. No need to use PTR_ERR_OR_ZERO() because it's not an error pointer.
> 3. Use the returned error code directly instead of using groveling in
> rx->page_pool to find it.
>
> [...]
Here is the summary with links:
- [net-next] net: lan966x: cleanup error handling in lan966x_fdma_rx_alloc_page_pool()
https://git.kernel.org/netdev/net-next/c/640656c30a6a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html