Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp332724pxj; Tue, 1 Jun 2021 23:48:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiodHMBUbxgUtcNxkHz9qeYTSlX7guwRjsr7SI90N4e8iohF28vcPnR8pP7sy4DANMP2DU X-Received: by 2002:a92:911:: with SMTP id y17mr5588397ilg.101.1622616490443; Tue, 01 Jun 2021 23:48:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622616490; cv=none; d=google.com; s=arc-20160816; b=i85A814e/qST82cyYH7v4V+QpjcjmGzmjZksuIjBZAji9DNvR0Qm8Dmb+SBbUDjrTI E9s0DWnAvncKuNRFIu994NJsQju+2PQNRoIUxYBZQsrAOgMibj2RIw5p3iLxARtiDmMk 7rLMvxXyT54TedZD+p+Ji7PaGrP5z71mhveveIJrjZtRgjbq/gDvHgklME3lY91dvhvy MEc07mg+WybKw6210CMGfWg64f8wuPVmmHcEp4dGd9iTlJEWqUubF2jPb4+AJJklqOv7 0nk8f1StUMqpL+IFhKKWPzD+ds8fu8HsUPyFbE3D9T/ZWSeGuCe95pIJE4X9LTCmYWL7 pOzw== 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=4CBwe0P1ofE9qbAdSJvVN0qrNvkQUXxOIJERaaCSc00=; b=WJTXIIdABbEyL4KG9se6yUU8pFSKHlKzEndoZ3lYXQgI/wZrVfEdWNqU6MzFhEaxiL ZUFoEaAZZgAYarPOSHstlmIdqkADaVkmn/TeEeJ8IAcWvIPfKNKGYtH57epcnmNl5BrH MON2l9i0L4cjrSeIf88r2BWkW0Sz392DzIlDc0+Aqn8IjoJWdmUFB0ItZS8d7zg4iddH L5btDfo8jIFUX3pCiPhijytKLl9yXfKCFU7JSA1IhNt9/pyjUqD1o3vUdKl+ALNtMI3N 1VIvmT0Ey9J5cP3b80prqKCrGoj0TFCp9npxgdzvCtca7AeXo6QkQS55Vqky5Zfwz0cs IZ0w== 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 r8si3160669jan.32.2021.06.01.23.47.57; Tue, 01 Jun 2021 23:48:10 -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 S229997AbhFBGoS (ORCPT + 99 others); Wed, 2 Jun 2021 02:44:18 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:2840 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229670AbhFBGoJ (ORCPT ); Wed, 2 Jun 2021 02:44:09 -0400 Received: from dggeme760-chm.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4FvzqB5XVbzWqn5; Wed, 2 Jun 2021 14:37:42 +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; Wed, 2 Jun 2021 14:42:24 +0800 From: Zheng Yongjun To: , , , , , , , CC: Zheng Yongjun Subject: [PATCH net-next] batman-adv: Fix spelling mistakes Date: Wed, 2 Jun 2021 14:56:03 +0800 Message-ID: <20210602065603.106030-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: dggems705-chm.china.huawei.com (10.3.19.182) 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: containg ==> containing dont ==> don't datas ==> data brodcast ==> broadcast Signed-off-by: Zheng Yongjun --- net/batman-adv/bridge_loop_avoidance.c | 4 ++-- net/batman-adv/hard-interface.c | 2 +- net/batman-adv/hash.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net/batman-adv/bridge_loop_avoidance.c b/net/batman-adv/bridge_loop_avoidance.c index 7dc133cfc363..63d42dcc9324 100644 --- a/net/batman-adv/bridge_loop_avoidance.c +++ b/net/batman-adv/bridge_loop_avoidance.c @@ -395,7 +395,7 @@ static void batadv_bla_send_claim(struct batadv_priv *bat_priv, u8 *mac, break; case BATADV_CLAIM_TYPE_ANNOUNCE: /* announcement frame - * set HW SRC to the special mac containg the crc + * set HW SRC to the special mac containing the crc */ ether_addr_copy(hw_src, mac); batadv_dbg(BATADV_DBG_BLA, bat_priv, @@ -1040,7 +1040,7 @@ static int batadv_check_claim_group(struct batadv_priv *bat_priv, /* lets see if this originator is in our mesh */ orig_node = batadv_orig_hash_find(bat_priv, backbone_addr); - /* dont accept claims from gateways which are not in + /* don't accept claims from gateways which are not in * the same mesh or group. */ if (!orig_node) diff --git a/net/batman-adv/hard-interface.c b/net/batman-adv/hard-interface.c index 4a6a25d551a8..b99f64f483fc 100644 --- a/net/batman-adv/hard-interface.c +++ b/net/batman-adv/hard-interface.c @@ -403,7 +403,7 @@ int batadv_hardif_no_broadcast(struct batadv_hard_iface *if_outgoing, goto out; } - /* >1 neighbors -> (re)brodcast */ + /* >1 neighbors -> (re)broadcast */ if (rcu_dereference(hlist_next_rcu(first))) goto out; diff --git a/net/batman-adv/hash.h b/net/batman-adv/hash.h index 46696759f194..fb251c385a1b 100644 --- a/net/batman-adv/hash.h +++ b/net/batman-adv/hash.h @@ -18,7 +18,7 @@ #include #include -/* callback to a compare function. should compare 2 element datas for their +/* callback to a compare function. should compare 2 element data for their * keys * * Return: true if same and false if not same -- 2.25.1