Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2231887pxj; Sun, 30 May 2021 18:50:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6+7E3vU9V9CsH5CBpPlpVSwnctaKUEENaHavC+hGGNlzYNj5sDGdGILEIGWVJkQLSygfB X-Received: by 2002:aa7:d54c:: with SMTP id u12mr22467012edr.242.1622425818688; Sun, 30 May 2021 18:50:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622425818; cv=none; d=google.com; s=arc-20160816; b=PfNWKcC6QiUk0rCPw2Bkm5acFmhF6DrMNBEgN02Tt4hxu0bLkJyQcpNHch/e7CY2JQ BqtZFI8lzysTqNsav0MGpWyqE2idtXTnhiHUgQcNtiWuSp6eVACMHBXwmuwYsEzp3ujw 8kpxhvuH3JOdjlSAD52L5NU1IFYkdQCa8ikN3xLvVZwnlarGRmXpCYJSA3FU2P+4cDeI VMzsGjGEodJ2fRjTMPa37qZBGVGwWfJQ44CVpoe+PTe5R43XSNr9wRll6IFQfTymnbgn OvmH66ydOgC9E+3OtwT7swoTL+lDMry5w2BHItaHrGorbwscP23Ii6hVRQMPLxQwg1eU 1s2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=m+kDdMOP+gtMJxgGtI83sNxymaZ/zjQQ5b4gz8uET70=; b=RWNpZob5NXRruPkGzRe9e9I9bpwQVBnkyMnMntWjK8vghVLBdIOHVRIox43qSofubC WUXR/lXorX2QOLAygs5QXjp34Afa2FhxR0VnbSp4EWqL9dXS5VWIZ1MIbqTfzUc/UsRk PdXnVj6RVgko3o5zc/JeeWvrLR7HUUHOG728jT8aoljq7ccgs8qVGGsvlhsxeEUWNtk7 C9AYm8P3M1sZT7WJ4JcgRJXVp29YLt9lSRLOguBoukia6Z3B8KfQyigsglPH5MNA5aWn mhB8NK+j9OC6NUjBXDwiZE7V079F3U9MjKMZ6W8I4MKLkdHx4L0c1F8659nTUT/EZqPO GsRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q13si4890029ejd.76.2021.05.30.18.49.56; Sun, 30 May 2021 18:50:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230013AbhEaBsa (ORCPT + 99 others); Sun, 30 May 2021 21:48:30 -0400 Received: from szxga08-in.huawei.com ([45.249.212.255]:3292 "EHLO szxga08-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229912AbhEaBs3 (ORCPT ); Sun, 30 May 2021 21:48:29 -0400 Received: from dggeme760-chm.china.huawei.com (unknown [172.30.72.54]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4FtdM54F3Gz1BGgZ; Mon, 31 May 2021 09:42:09 +0800 (CST) Received: from localhost.localdomain (10.175.104.82) by dggeme760-chm.china.huawei.com (10.3.19.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Mon, 31 May 2021 09:46:48 +0800 From: Zheng Yongjun To: , , , , CC: Zheng Yongjun Subject: [PATCH net-next] nfc: hci: Fix spelling mistakes Date: Mon, 31 May 2021 10:00:19 +0800 Message-ID: <20210531020019.2919799-1-zhengyongjun3@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.104.82] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggeme760-chm.china.huawei.com (10.3.19.106) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix some spelling mistakes in comments: occured ==> occurred negociate ==> negotiate Signed-off-by: Zheng Yongjun --- 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