lkml.org 
[lkml]   [2024]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 0/2] nfc: hci: Save a few bytes of memory when registering a 'nfc_llc' engine
From
Date
Hello:

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

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



\
 
 \ /
  Last update: 2024-05-27 14:50    [W:0.034 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site