Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp347982pxf; Thu, 1 Apr 2021 02:47:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMKgg0MGsgekclLIGqocTIf7i7lia3rqVvBTwyon830sll/Y7i+6fCKzPP4JQ2M/RNaTZH X-Received: by 2002:a17:907:7683:: with SMTP id jv3mr8155530ejc.450.1617270444308; Thu, 01 Apr 2021 02:47:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617270444; cv=none; d=google.com; s=arc-20160816; b=T3x0/gBq8BmJLtU1IyezYOt4YExlEFLt7OFIwLAP9drYICQnqWGY1B0nqPMeaKp1cI xvwt5FTBjK8QFtEFkQ5M4Ns4fy+toHIiJDCgUw1Om/Tb2KG8a+JedjCf8Y1XEDgs95Q0 gz8UsDzOvN9+Xw0j/uJw5yeUzeQ6ovf3zUe9nQOmLEloa45KsgD5oS04u8jTz+QgDmmq REqLhj122LKF0PIIV7ZTvKiwv7l7NRyKucaGXbfQ69oC3aLYpXteBHHkHe+rwgauTf+o ONXHhIMZW+J7fEUyTgMb3r8PvGhWPe4AcPqETXT3VawiAHzkogbRLZFygx/AaYazQJUn 02Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:to:from; bh=ggGhiul3gBirsWzJAfgjwzRwGsrBLL+2lpSkM5fzP2E=; b=obKakKAKMP20aU7vNngiBG2IbvLQPIovrA6j50TjypGvy6NI/cx/fN33o7mDAts5fv xlgZn5LdBh3X+ryMWwzVQZMFd9xGl9WlkRdk6eGEm+/P7XkIrb4RTVgnoJFcYduU62PX qFKqiYf9UgtiRJUj0iBML7eN3P/srvnvycwlDVrZbAZMLh75qjFLSO8DypGrkX+lWBSI cPXBc05pUVaSuCvYIhGaNiBRmylYA+PgbYMYzr/QM5dBjDAheSIV2MHsGDamPnJjXllR lpim1m0fPiiM2APNwH8gbsrb5EAtAnG3Bmjxq2We1TifN7oaC2Qt1QuH9eFc5cOlb5LV /z3w== 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 gb41si3716077ejc.90.2021.04.01.02.47.00; Thu, 01 Apr 2021 02:47:24 -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 S233936AbhDAJpj (ORCPT + 99 others); Thu, 1 Apr 2021 05:45:39 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:15847 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233024AbhDAJp0 (ORCPT ); Thu, 1 Apr 2021 05:45:26 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4F9yRW6tbcz93Zs; Thu, 1 Apr 2021 17:23:51 +0800 (CST) Received: from huawei.com (10.175.101.6) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.498.0; Thu, 1 Apr 2021 17:25:52 +0800 From: Lu Wei To: , , , , , , , , , , , , Subject: [PATCH] net: hns: Fix some typos Date: Thu, 1 Apr 2021 17:27:01 +0800 Message-ID: <20210401092701.281820-1-luwei32@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.101.6] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix some typos. Reported-by: Hulk Robot Signed-off-by: Lu Wei --- drivers/net/ethernet/hisilicon/hns/hns_enet.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hns/hns_enet.c b/drivers/net/ethernet/hisilicon/hns/hns_enet.c index c66a7a51198e..5c61e5821d5c 100644 --- a/drivers/net/ethernet/hisilicon/hns/hns_enet.c +++ b/drivers/net/ethernet/hisilicon/hns/hns_enet.c @@ -1235,7 +1235,7 @@ static int hns_nic_init_affinity_mask(int q_num, int ring_idx, { int cpu; - /* Diffrent irq banlance between 16core and 32core. + /* Different irq balance between 16core and 32core. * The cpu mask set by ring index according to the ring flag * which indicate the ring is tx or rx. */ @@ -1592,7 +1592,7 @@ static void hns_disable_serdes_lb(struct net_device *ndev) * which buffer size is 4096. * 2. we set the chip serdes loopback and set rss indirection to the ring. * 3. construct 64-bytes ip broadcast packages, wait the associated rx ring - * recieving all packages and it will fetch new descriptions. + * receiving all packages and it will fetch new descriptions. * 4. recover to the original state. * *@ndev: net device @@ -1621,7 +1621,7 @@ static int hns_nic_clear_all_rx_fetch(struct net_device *ndev) if (!org_indir) return -ENOMEM; - /* store the orginal indirection */ + /* store the original indirection */ ops->get_rss(h, org_indir, NULL, NULL); cur_indir = kzalloc(indir_size, GFP_KERNEL); -- 2.17.1