Re: [PATCH v2] sfc_ef100: potential dereference of null pointer

From: patchwork-bot+netdevbpf
Date: Thu Dec 16 2021 - 15:51:50 EST


Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Wed, 15 Dec 2021 22:37:31 +0800 you wrote:
> The return value of kmalloc() needs to be checked.
> To avoid use in efx_nic_update_stats() in case of the failure of alloc.
>
> Fixes: b593b6f1b492 ("sfc_ef100: statistics gathering")
> Signed-off-by: Jiasheng Jiang <jiasheng@xxxxxxxxxxx>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
>
> [...]

Here is the summary with links:
- [v2] sfc_ef100: potential dereference of null pointer
https://git.kernel.org/netdev/net/c/407ecd1bd726

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