Re: [PATCH v2 0/2] nfc: hci: Save a few bytes of memory when registering a 'nfc_llc' engine

From: patchwork-bot+netdevbpf
Date: Tue Feb 06 2024 - 09:45:43 EST


Hello:

This series was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Sat, 3 Feb 2024 08:51:02 +0100 you wrote:
> nfc_llc_register() calls pass a string literal as the 'name' parameter.
>
> So kstrdup_const() can be used instead of kfree() to avoid a memory
> allocation in such cases.
>
> v2: Add a new helper function, nfc_llc_del_engine(), to reduce code
> duplication. This is needed to address Jakub Kicinski's comment
> about nfc_llc_exit() that was not updated in v1.
>
> [...]

Here is the summary with links:
- [v2,1/2] nfc: hci: Introduce nfc_llc_del_engine() to reduce code duplication
https://git.kernel.org/netdev/net-next/c/d6f4aac19ad4
- [v2,2/2] nfc: hci: Save a few bytes of memory when registering a 'nfc_llc' engine
https://git.kernel.org/netdev/net-next/c/83cdd8db7508

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