[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<168310202112.22454.11412734390478086148.git-patchwork-notify@kernel.org>
Date: Wed, 03 May 2023 08:20:21 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Shannon Nelson <shannon.nelson@....com>
Cc: kuba@...nel.org, davem@...emloft.net, netdev@...r.kernel.org,
drivers@...sando.io
Subject: Re: [PATCH v2 net] ionic: catch failure from devlink_alloc
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@...emloft.net>:
On Tue, 2 May 2023 11:35:36 -0700 you wrote:
> Add a check for NULL on the alloc return. If devlink_alloc() fails and
> we try to use devlink_priv() on the NULL return, the kernel gets very
> unhappy and panics. With this fix, the driver load will still fail,
> but at least it won't panic the kernel.
>
> Fixes: df69ba43217d ("ionic: Add basic framework for IONIC Network device driver")
> Signed-off-by: Shannon Nelson <shannon.nelson@....com>
>
> [...]
Here is the summary with links:
- [v2,net] ionic: catch failure from devlink_alloc
https://git.kernel.org/netdev/net/c/4a54903ff68d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists