summaryrefslogtreecommitdiffstats
path: root/net/nfc/nci/uart.c
diff options
context:
space:
mode:
authorZheng Yongjun <zhengyongjun3@huawei.com>2021-04-05 12:54:35 +0200
committerDavid S. Miller <davem@davemloft.net>2021-04-05 21:58:31 +0200
commitd3295869c40cb69a2c599000009b3fde43cec2ec (patch)
tree8bb7554d346227a80a857b1c238d03fc272d9f06 /net/nfc/nci/uart.c
parenttipc: Fix a kernel-doc warning in name_table.c (diff)
downloadlinux-d3295869c40cb69a2c599000009b3fde43cec2ec.tar.xz
linux-d3295869c40cb69a2c599000009b3fde43cec2ec.zip
net: nfc: Fix spelling errors in net/nfc module
These patches fix a series of spelling errors in net/nfc module. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/nfc/nci/uart.c')
-rw-r--r--net/nfc/nci/uart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/nfc/nci/uart.c b/net/nfc/nci/uart.c
index 1204c438e87d..6af5752cde09 100644
--- a/net/nfc/nci/uart.c
+++ b/net/nfc/nci/uart.c
@@ -234,7 +234,7 @@ static void nci_uart_tty_wakeup(struct tty_struct *tty)
* Called by tty low level driver when receive data is
* available.
*
- * Arguments: tty pointer to tty isntance data
+ * Arguments: tty pointer to tty instance data
* data pointer to received data
* flags pointer to flags for data
* count count of received data in bytes
@@ -374,7 +374,7 @@ static int nci_uart_default_recv_buf(struct nci_uart *nu, const u8 *data,
data += chunk_len;
count -= chunk_len;
- /* Chcek if packet is fully received */
+ /* Check if packet is fully received */
if (nu->rx_packet_len == nu->rx_skb->len) {
/* Pass RX packet to driver */
if (nu->ops.recv(nu, nu->rx_skb) != 0)