Re: [PATCH net-next] lib: packing: catch kunit_kzalloc() failure in the pack() test

From: patchwork-bot+netdevbpf
Date: Mon Oct 07 2024 - 19:41:39 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

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