Messages in this thread | | | Date | Sat, 20 Jan 2024 12:00:12 +0000 | From | Simon Horman <> | Subject | Re: [PATCH] nfc: hci: Save a few bytes of memory when registering a 'nfc_llc' engine |
| |
On Sat, Jan 20, 2024 at 10:56:06AM +0100, Christophe JAILLET 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. > > Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
## Form letter - net-next-closed
[adapted from text by Jakub]
The merge window for v6.8 has begun and therefore net-next is closed for new drivers, features, code refactoring and optimizations. We are currently accepting bug fixes only.
Please repost when net-next reopens on or after 22nd January.
RFC patches sent for review only are obviously welcome at any time.
See: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#development-cycle -- pw-bot: defer
| |