Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3317088pxj; Mon, 7 Jun 2021 07:49:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/K+hk6MWG2Vd9aoqdowErswL5LH4QPs60W2HOri72+DIokd1ucpiNxFtxq4aTjfSJHGou X-Received: by 2002:a05:6402:4395:: with SMTP id o21mr11910498edc.163.1623077350626; Mon, 07 Jun 2021 07:49:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623077350; cv=none; d=google.com; s=arc-20160816; b=N//z/Y13sSIWSy0QyCTOrNkHaburJfWuMm9c1Z1iI2CJyT25B9nZFpiX/ZeIIpBStJ WQhmJr0bEEV9lKOHAhLlsoyL2nqxR0ghiJIWO+JpKKImEyaUSCt7M/T4khK9tFs+/3JK yFdmc6sn/RThQumQOcd0cFIUt6+v9+UvhQPlkayYePytORygkWRZOqLGLaYhmMKBOZ8v mawQdn1rvC0JgjGpLD+X0y0mjFG3AP9Gcqk7MW4jZq//LqYpf5sECKqMYQu5jhdzzhwf gOa4oQSzxJotplwwd6OeOKEDnImcTy+Jc+aWj4l362XIRMwyGee3j3c41972Nm5hVNY3 4d0w== 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=YxOh9jkfLXtQeae19jGVIaZWli+zhLSTFsBRzGL8Zr4=; b=RHGHmxqxK9hTq8oujAM034PoJ5G9eFC2Z/O5nJrIDjy3T1RhwGPwaMcK4r1UElgS99 Y2z17iQR3XQ0HMHHCYw8Tel79pAVEBidVunjno5ZFs2mBEB+RYIAk99F+2j8/qUrwLl1 7KsMTqDdClbyANnS1xFVEuKiMf4yzawUFfFOxJVUkyMmP+h7dK7oYKptsX7onRQEoJ/b AdcNQg0iEaD41A7AXvIxPoz/ZQiWuWu9VyJPxnWG3H49/Vh2JaNd8Ui5tQq0qf5YQxBW nw+Chp6xNdzqjcogwcjUlWzYpYUBDUCkzkQMt079a/o40/cP5cmhkuoA1poru6Se2zmn onag== 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 h24si10697462ejt.474.2021.06.07.07.48.47; Mon, 07 Jun 2021 07:49: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 S230330AbhFGOtT (ORCPT + 99 others); Mon, 7 Jun 2021 10:49:19 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:8062 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230193AbhFGOtS (ORCPT ); Mon, 7 Jun 2021 10:49:18 -0400 Received: from dggeme760-chm.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4FzGNg48DKzYs6T; Mon, 7 Jun 2021 22:44:35 +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, 7 Jun 2021 22:47:22 +0800 From: Zheng Yongjun To: , , , , , CC: Zheng Yongjun Subject: [PATCH net-next] netlabel: Fix spelling mistakes Date: Mon, 7 Jun 2021 23:01:00 +0800 Message-ID: <20210607150100.2856110-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: Interate ==> Iterate sucess ==> success Signed-off-by: Zheng Yongjun --- net/netlabel/netlabel_domainhash.c | 2 +- net/netlabel/netlabel_kapi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/netlabel/netlabel_domainhash.c b/net/netlabel/netlabel_domainhash.c index dc8c39f51f7d..8158a25972b4 100644 --- a/net/netlabel/netlabel_domainhash.c +++ b/net/netlabel/netlabel_domainhash.c @@ -929,7 +929,7 @@ struct netlbl_dommap_def *netlbl_domhsh_getentry_af6(const char *domain, * @cb_arg: argument for the callback function * * Description: - * Interate over the domain mapping hash table, skipping the first @skip_bkt + * Iterate over the domain mapping hash table, skipping the first @skip_bkt * buckets and @skip_chain entries. For each entry in the table call * @callback, if @callback returns a negative value stop 'walking' through the * table and return. Updates the values in @skip_bkt and @skip_chain on diff --git a/net/netlabel/netlabel_kapi.c b/net/netlabel/netlabel_kapi.c index 5e1239cef000..beb0e573266d 100644 --- a/net/netlabel/netlabel_kapi.c +++ b/net/netlabel/netlabel_kapi.c @@ -719,7 +719,7 @@ int netlbl_catmap_walkrng(struct netlbl_lsm_catmap *catmap, u32 offset) * it in @bitmap. The @offset must be aligned to an unsigned long and will be * updated on return if different from what was requested; if the catmap is * empty at the requested offset and beyond, the @offset is set to (u32)-1. - * Returns zero on sucess, negative values on failure. + * Returns zero on success, negative values on failure. * */ int netlbl_catmap_getlong(struct netlbl_lsm_catmap *catmap, -- 2.25.1