android_kernel_motorola_sm6225/include/net/nfc
Krzysztof Kozlowski 1deacb5e03 nfc: constify several pointers to u8, char and sk_buff
[ Upstream commit 3df40eb3a2ea58bf404a38f15a7a2768e4762cb0 ]

Several functions receive pointers to u8, char or sk_buff but do not
modify the contents so make them const.  This allows doing the same for
local variables and in total makes the code a little bit safer.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Stable-dep-of: 0d9b41daa590 ("nfc: llcp: fix possible use of uninitialized variable in nfc_llcp_send_connect()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-08-11 11:45:03 +02:00
..
digital.h NFC: digital: Add support for NFC DEP Response Waiting Time 2016-07-11 02:01:14 +02:00
hci.h NFC: Fix the number of pipes 2018-09-18 19:55:01 -07:00
llc.h NFC: hci: delete unused nfc_llc_get_rx_head_tail_room() 2016-07-04 12:14:05 +02:00
nci.h NFC: nfcmrvl: add i2c driver 2015-10-27 04:21:14 +01:00
nci_core.h NFC: add NCI_UNREG flag to eliminate the race 2021-12-01 09:27:43 +01:00
nfc.h nfc: constify several pointers to u8, char and sk_buff 2023-08-11 11:45:03 +02:00