diff options
author | 2021-07-24 23:47:32 +0200 | |
---|---|---|
committer | 2021-07-25 09:21:20 +0100 | |
commit | 48d5440393d328cfe18b26e3609c84c0f41d6515 (patch) | |
tree | 9275a24803d56301586e8257b6b11fc09943c523 /drivers/nfc/s3fwrn5/nci.c | |
parent | net: bridge: fix build when setting skb->offload_fwd_mark with CONFIG_NET_SWITCHDEV=n (diff) | |
download | wireguard-linux-48d5440393d328cfe18b26e3609c84c0f41d6515.tar.xz wireguard-linux-48d5440393d328cfe18b26e3609c84c0f41d6515.zip |
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/s3fwrn5/nci.c')
0 files changed, 0 insertions, 0 deletions