Thread (3 messages) 3 messages, 3 authors, 2025-10-28

Re: [PATCH net-next] net: airoha: Fix a copy and paste bug in probe()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-10-28 01:20:56
Also in: kernel-janitors, linux-arm-kernel, linux-mediatek, lkml

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

On Fri, 24 Oct 2025 14:23:35 +0300 you wrote:
This code has a copy and paste bug where it accidentally checks "if (err)"
instead of checking if "xsi_rsts" is NULL.  Also, as a free bonus, I
changed the allocation from kzalloc() to  kcalloc() which is a kernel
hardening measure to protect against integer overflows.

Fixes: 5863b4e065e2 ("net: airoha: Add airoha_eth_soc_data struct")
Signed-off-by: Dan Carpenter <redacted>

[...]
Here is the summary with links:
  - [net-next] net: airoha: Fix a copy and paste bug in probe()
    https://git.kernel.org/netdev/net-next/c/05e090620bac

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help