Re: [PATCH][next] net: hns3: Fix potential null pointer defererence of null ae_dev

From: patchwork-bot+netdevbpf
Date: Mon Apr 12 2021 - 16:20:24 EST


Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Fri, 9 Apr 2021 17:37:26 +0100 you wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The reset_prepare and reset_done calls have a null pointer check
> on ae_dev however ae_dev is being dereferenced via the call to
> ns3_is_phys_func with the ae->pdev argument. Fix this by performing
> a null pointer check on ae_dev and hence short-circuiting the
> dereference to ae_dev on the call to ns3_is_phys_func.
>
> [...]

Here is the summary with links:
- [next] net: hns3: Fix potential null pointer defererence of null ae_dev
https://git.kernel.org/netdev/net-next/c/d0494135f94c

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