All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next] nfc: hci: Fix spelling mistakes
@ 2021-05-31  2:00 Zheng Yongjun
  2021-05-31  7:17 ` Krzysztof Kozlowski
  2021-06-01  5:50 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Zheng Yongjun @ 2021-05-31  2:00 UTC (permalink / raw)
  To: krzysztof.kozlowski, davem, kuba, netdev, linux-kernel; +Cc: Zheng Yongjun

Fix some spelling mistakes in comments:
occured  ==> occurred
negociate  ==> negotiate

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
---
 net/nfc/hci/command.c   | 2 +-
 net/nfc/hci/core.c      | 2 +-
 net/nfc/hci/llc_shdlc.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net/nfc/hci/command.c b/net/nfc/hci/command.c
index e02b9befce0b..3a89bd9b89fc 100644
--- a/net/nfc/hci/command.c
+++ b/net/nfc/hci/command.c
@@ -34,7 +34,7 @@ static int nfc_hci_execute_cmd_async(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd,
  * HCI command execution completion callback.
  * err will be a standard linux error (may be converted from HCI response)
  * skb contains the response data and must be disposed, or may be NULL if
- * an error occured
+ * an error occurred
  */
 static void nfc_hci_execute_cb(void *context, struct sk_buff *skb, int err)
 {
diff --git a/net/nfc/hci/core.c b/net/nfc/hci/core.c
index 43811b5219b5..3481941be70b 100644
--- a/net/nfc/hci/core.c
+++ b/net/nfc/hci/core.c
@@ -705,7 +705,7 @@ static void hci_transceive_cb(void *context, struct sk_buff *skb, int err)
 		/*
 		 * TODO: Check RF Error indicator to make sure data is valid.
 		 * It seems that HCI cmd can complete without error, but data
-		 * can be invalid if an RF error occured? Ignore for now.
+		 * can be invalid if an RF error occurred? Ignore for now.
 		 */
 		if (err == 0)
 			skb_trim(skb, skb->len - 1); /* RF Err ind */
diff --git a/net/nfc/hci/llc_shdlc.c b/net/nfc/hci/llc_shdlc.c
index c0c8fea3a186..1e3a90049da9 100644
--- a/net/nfc/hci/llc_shdlc.c
+++ b/net/nfc/hci/llc_shdlc.c
@@ -406,7 +406,7 @@ static void llc_shdlc_rcv_u_frame(struct llc_shdlc *shdlc,
 		case SHDLC_NEGOTIATING:
 		case SHDLC_CONNECTING:
 			/*
-			 * We sent RSET, but chip wants to negociate or we
+			 * We sent RSET, but chip wants to negotiate or we
 			 * got RSET before we managed to send out our.
 			 */
 			if (skb->len > 0)
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next] nfc: hci: Fix spelling mistakes
  2021-05-31  2:00 [PATCH net-next] nfc: hci: Fix spelling mistakes Zheng Yongjun
@ 2021-05-31  7:17 ` Krzysztof Kozlowski
  2021-06-01  5:50 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2021-05-31  7:17 UTC (permalink / raw)
  To: Zheng Yongjun, davem, kuba, netdev, linux-kernel

On 31/05/2021 04:00, Zheng Yongjun wrote:
> Fix some spelling mistakes in comments:
> occured  ==> occurred
> negociate  ==> negotiate
> 
> Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
> ---
>  net/nfc/hci/command.c   | 2 +-
>  net/nfc/hci/core.c      | 2 +-
>  net/nfc/hci/llc_shdlc.c | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next] nfc: hci: Fix spelling mistakes
  2021-05-31  2:00 [PATCH net-next] nfc: hci: Fix spelling mistakes Zheng Yongjun
  2021-05-31  7:17 ` Krzysztof Kozlowski
@ 2021-06-01  5:50 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-06-01  5:50 UTC (permalink / raw)
  To: Zheng Yongjun; +Cc: krzysztof.kozlowski, davem, kuba, netdev, linux-kernel

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Mon, 31 May 2021 10:00:19 +0800 you wrote:
> Fix some spelling mistakes in comments:
> occured  ==> occurred
> negociate  ==> negotiate
> 
> Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
> ---
>  net/nfc/hci/command.c   | 2 +-
>  net/nfc/hci/core.c      | 2 +-
>  net/nfc/hci/llc_shdlc.c | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)

Here is the summary with links:
  - [net-next] nfc: hci: Fix spelling mistakes
    https://git.kernel.org/netdev/net-next/c/01709d0977d4

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-01  5:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-31  2:00 [PATCH net-next] nfc: hci: Fix spelling mistakes Zheng Yongjun
2021-05-31  7:17 ` Krzysztof Kozlowski
2021-06-01  5:50 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.