linux/net/nfc/hci
Christophe JAILLET 83cdd8db75 nfc: hci: Save a few bytes of memory when registering a 'nfc_llc' engine
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>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2024-02-06 15:36:06 +01:00
..
command.c nfc: drop unneeded debug prints 2021-10-11 17:00:51 -07:00
core.c nfc: constify local pointer variables 2021-07-30 17:22:52 +02:00
hci.h
hcp.c NFC: hci: Split memcpy() of struct hcp_message flexible array 2022-09-27 07:45:18 -07:00
Kconfig
llc_nop.c
llc_shdlc.c nfc: drop unneeded debug prints 2021-10-11 17:00:51 -07:00
llc.c nfc: hci: Save a few bytes of memory when registering a 'nfc_llc' engine 2024-02-06 15:36:06 +01:00
llc.h
Makefile