OSDN Git Service

NFC: pn544: Fix a typo in a debug message
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 15 Feb 2020 07:17:28 +0000 (08:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Feb 2020 03:30:36 +0000 (19:30 -0800)
The ending character of the string shoulb be \n, not \b.

Fixes: 17936b43f0fd ("NFC: Standardize logging style")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/nfc/pn544/pn544.c

index 2b83156..b788870 100644 (file)
@@ -682,7 +682,7 @@ static int pn544_hci_tm_send(struct nfc_hci_dev *hdev, struct sk_buff *skb)
 static int pn544_hci_check_presence(struct nfc_hci_dev *hdev,
                                   struct nfc_target *target)
 {
-       pr_debug("supported protocol %d\b", target->supported_protocols);
+       pr_debug("supported protocol %d\n", target->supported_protocols);
        if (target->supported_protocols & (NFC_PROTO_ISO14443_MASK |
                                        NFC_PROTO_ISO14443_B_MASK)) {
                return nfc_hci_send_cmd(hdev, target->hci_reader_gate,