diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | 2021-07-25 00:47:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-25 11:21:20 +0300 |
commit | 48d5440393d328cfe18b26e3609c84c0f41d6515 (patch) | |
tree | 9275a24803d56301586e8257b6b11fc09943c523 /drivers/nfc/virtual_ncidev.c | |
parent | c5381154393d42e2edd77fc74f1493f9f93908cb (diff) | |
download | linux-48d5440393d328cfe18b26e3609c84c0f41d6515.tar.xz |
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>
Diffstat (limited to 'drivers/nfc/virtual_ncidev.c')
0 files changed, 0 insertions, 0 deletions