Searched hist:"48 d54403" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/net/nfc/ |
H A D | nci_core.h | 48d54403 Sat Jul 24 16:47:32 CDT 2021 Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> nfc: constify payload argument in nci_send_cmd()
The nci_send_cmd() payload argument is passed directly to skb_put_data() which already accepts a pointer to const, so make it const as well for correctness and safety.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/nfc/nci/ |
H A D | core.c | 48d54403 Sat Jul 24 16:47:32 CDT 2021 Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> nfc: constify payload argument in nci_send_cmd()
The nci_send_cmd() payload argument is passed directly to skb_put_data() which already accepts a pointer to const, so make it const as well for correctness and safety.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|