android_kernel_motorola_sm6375/drivers/nfc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nathan Chancellor bd1bac782d NFC: pn544: Adjust indentation in pn544_hci_check_presence
commit 5080832627b65e3772a35d1dced68c64e2b24442 upstream.

Clang warns

../drivers/nfc/pn544/pn544.c:696:4: warning: misleading indentation;
statement is not part of the previous 'if' [-Wmisleading-indentation]
                 return nfc_hci_send_cmd(hdev, NFC_HCI_RF_READER_A_GATE,
                 ^
../drivers/nfc/pn544/pn544.c:692:3: note: previous statement is here
                if (target->nfcid1_len != 4 && target->nfcid1_len != 7 &&
                ^
1 warning generated.

This warning occurs because there is a space after the tab on this line.
Remove it so that the indentation is consistent with the Linux kernel
coding style and clang no longer warns.

Fixes: da052850b9 ("NFC: Add pn544 presence check for different targets")
Link: https://github.com/ClangBuiltLinux/linux/issues/814
Signed-off-by: Nathan Chancellor <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2020-02-11 04:35:45 -08:00
..
fdp NFC: fdp: fix incorrect free object 2019-11-05 18:31:45 -08:00
microread
nfcmrvl NFC: nfcmrvl: fix gpio-handling regression 2019-08-05 10:25:48 -07:00
nxp-nci NFC: nxp-nci: Fix probing without ACPI 2019-12-31 16:41:49 +01:00
pn533 NFC: pn533: fix bulk-message timeout 2020-01-23 08:22:48 +01:00
pn544 NFC: pn544: Adjust indentation in pn544_hci_check_presence 2020-02-11 04:35:45 -08:00
s3fwrn5
st-nci
st21nfca NFC: st21nfca: fix double free 2019-11-06 21:48:29 -08:00
st95hf NFC: st95hf: clean up indentation issue 2019-09-27 20:31:18 +02:00
Kconfig
Makefile
mei_phy.c
mei_phy.h
nfcsim.c
port100.c nfc: port100: handle command failure cleanly 2019-11-21 11:48:17 -08:00
trf7970a.c