[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id:
<172834444148.18821.13328797318044195975.git-patchwork-notify@kernel.org>
Date: Mon, 07 Oct 2024 23:40:41 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Vladimir Oltean <vladimir.oltean@....com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, jacob.e.keller@...el.com,
przemyslaw.kitszel@...el.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] lib: packing: catch kunit_kzalloc() failure in the
pack() test
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Fri, 4 Oct 2024 14:00:12 +0300 you wrote:
> kunit_kzalloc() may fail. Other call sites verify that this is the case,
> either using a direct comparison with the NULL pointer, or the
> KUNIT_ASSERT_NOT_NULL() or KUNIT_ASSERT_NOT_ERR_OR_NULL().
>
> Pick KUNIT_ASSERT_NOT_NULL() as the error handling method that made most
> sense to me. It's an unlikely thing to happen, but at least we call
> __kunit_abort() instead of dereferencing this NULL pointer.
>
> [...]
Here is the summary with links:
- [net-next] lib: packing: catch kunit_kzalloc() failure in the pack() test
https://git.kernel.org/netdev/net-next/c/1405981bbba0
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