[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176765881652.1339098.373042162030671733.git-patchwork-notify@kernel.org>
Date: Tue, 06 Jan 2026 00:20:16 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: ALOK TIWARI <alok.a.tiwari@...cle.com>
Cc: vadym.kochan@...ision.eu, oleksandr.mazur@...ision.eu,
andrew+netdev@...n.ch, taras.chornyi@...ision.eu, kuba@...nel.org,
davem@...emloft.net, edumazet@...gle.com, pabeni@...hat.com,
horms@...nel.org, netdev@...r.kernel.org, alok.a.tiwarilinux@...il.com
Subject: Re: [PATCH net-next] net: marvell: prestera: correct return type of
prestera_ldr_wait_buf()
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Sat, 3 Jan 2026 09:43:10 -0800 you wrote:
> prestera_ldr_wait_buf() returns the result of readl_poll_timeout(),
> which is 0 on success or -ETIMEDOUT on failure. Its current return
> type is u32.
>
> Assigning this u32 value to an int variable works today because the
> bit pattern of (u32)-ETIMEDOUT (0xffffff92) is correctly interpreted
> as -ETIMEDOUT when stored in an int. However, keeping the function
> return type as u32 is misleading and fragile.
>
> [...]
Here is the summary with links:
- [net-next] net: marvell: prestera: correct return type of prestera_ldr_wait_buf()
https://git.kernel.org/netdev/net-next/c/32291cb0369a
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