nfc: constify pointer to nfc_vendor_cmd
Neither the core nor the drivers modify the passed pointer to struct nfc_vendor_cmd, so make it a pointer to const for correctness and safety. Signed-off-by:Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/nfc/st-nci/vendor_cmds.c 1 addition, 1 deletiondrivers/nfc/st-nci/vendor_cmds.c
- drivers/nfc/st21nfca/vendor_cmds.c 1 addition, 1 deletiondrivers/nfc/st21nfca/vendor_cmds.c
- include/net/nfc/hci.h 1 addition, 1 deletioninclude/net/nfc/hci.h
- include/net/nfc/nci_core.h 1 addition, 1 deletioninclude/net/nfc/nci_core.h
- include/net/nfc/nfc.h 2 additions, 2 deletionsinclude/net/nfc/nfc.h
- net/nfc/netlink.c 1 addition, 1 deletionnet/nfc/netlink.c
Please register or sign in to comment