Re: [PATCH net-next] net: lan966x: cleanup error handling in lan966x_fdma_rx_alloc_page_pool()

[email protected]
Newsgroups org.kernel.vger.kernel-janitors,org.kernel.vger.linux-kernel,org.kernel.vger.netdev
Message-ID <177973921289.3098866.10215645717913096910.git-patchwork-notify@kernel.org>
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <[email protected]>:

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.