[PATCH net] net: ti: icss-iep: Fix incorrect type for return value in extts_enable()
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Fri Aug 8 13:10:08 PDT 2025
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba at kernel.org>:
On Tue, 5 Aug 2025 07:23:18 -0700 you wrote:
> The variable ret in icss_iep_extts_enable() was incorrectly declared
> as u32, while the function returns int and may return negative error
> codes. This will cause sign extension issues and incorrect error
> propagation. Update ret to be int to fix error handling.
>
> This change corrects the declaration to avoid potential type mismatch.
>
> [...]
Here is the summary with links:
- [net] net: ti: icss-iep: Fix incorrect type for return value in extts_enable()
https://git.kernel.org/netdev/net/c/5f1d1d14db7d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-arm-kernel
mailing list