Re: [PATCH -next] amt: Fix NULL but dereferenced coccicheck error
From: patchwork-bot+netdevbpf
Date: Fri Nov 05 2021 - 06:50:25 EST
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:
On Fri, 5 Nov 2021 15:12:50 +0800 you wrote:
> Eliminate the following coccicheck warning:
> ./drivers/net/amt.c:2795:6-9: ERROR: amt is NULL but dereferenced.
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Yang Li <yang.lee@xxxxxxxxxxxxxxxxx>
> ---
> drivers/net/amt.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Here is the summary with links:
- [-next] amt: Fix NULL but dereferenced coccicheck error
https://git.kernel.org/netdev/net/c/3f81c5799128
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html