Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp332785pxj; Tue, 1 Jun 2021 23:48:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyU6d3r3XIeH5+b3Odo9rokY0HxHqny5B0p+BSlko4cmxKslcWQdiPxsysDZwjzEGVGVDRg X-Received: by 2002:a92:d384:: with SMTP id o4mr8849388ilo.155.1622616496137; Tue, 01 Jun 2021 23:48:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622616496; cv=none; d=google.com; s=arc-20160816; b=pLtipjCZjbFcNMdXvMNAVKPc8WtMZYuiD0PjyEKY7gZl2h77nm07v+5y9ZlEqUl1e0 fBsFPTB6QV1mOrbZ3mcaX1RMqQfwuahQNWVJYOz6BoCaubqq6BrOSptDEizjqK15YQCD Oi3odqVK5vr7SxQbU5Ln3l4DUJ0dQlTLYSJ2FHbeOgyf6n9vwAvhxC2jvS0VvK2ctHTA 48CoS4rv2hEMEmLgI55YHr1bnKgRYpzxTnqV6YL9XHxnbBguoJxzsMGn7og+H3x5ewtp FWkRIttk8Nj/1CqpFrzVGGA+9S39wI+/vvLdUJ2nAZHXaUWndBDyRpXCzJuyvEQ45lmo vadg== 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=jQd8zA2TZTMShPpEBhRCQU0QiYuo2AkrNrgXa6EOi8M=; b=foBU57p+4A+43vWAW+EwkxlUsygrqjDNJixxNxgqTizv+oI8jigEMf0we7AORKvRrd EKt/Dvg/4K9E8z9Z5oHEE1qNBgvmjIJZWqprE094I3vCZ28yUCAFWVSld00qatqP3qKt dVQqo61P5Uwe7AHKNIiTSRukdzintfqX98WalZfYPHfYhzDyX5PF4K+a93T++Dcj/MB2 HFO4czXCD75JmcbsTQolj6afTP0kDpFeN0dqEOgU4sJX31qV5EXQHeQDpkZODYYbSjx9 Kzu+aOc84T6vuiCOTiRMUxzOjI13y+pjFv9avJ7z9aRv+xImLpwPSNicl47MOjEiIS8S qVpA== 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 r10si7349711iln.50.2021.06.01.23.48.03; Tue, 01 Jun 2021 23:48:16 -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 S229844AbhFBGob (ORCPT + 99 others); Wed, 2 Jun 2021 02:44:31 -0400 Received: from szxga03-in.huawei.com ([45.249.212.189]:3380 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229806AbhFBGoa (ORCPT ); Wed, 2 Jun 2021 02:44:30 -0400 Received: from dggeme760-chm.china.huawei.com (unknown [172.30.72.53]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4Fvzrk4bqvz67lX; Wed, 2 Jun 2021 14:39:02 +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:44 +0800 From: Zheng Yongjun To: , , , CC: Zheng Yongjun Subject: [PATCH net-next] rtnetlink: Fix spelling mistakes Date: Wed, 2 Jun 2021 14:56:23 +0800 Message-ID: <20210602065623.106341-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: dggems701-chm.china.huawei.com (10.3.19.178) 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 Signed-off-by: Zheng Yongjun --- net/core/rtnetlink.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index 714d5fa38546..7bc6f48007c3 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c @@ -9,7 +9,7 @@ * Authors: Alexey Kuznetsov, * * Fixes: - * Vitaly E. Lavrov RTA_OK arithmetics was wrong. + * Vitaly E. Lavrov RTA_OK arithmetic was wrong. */ #include @@ -234,7 +234,7 @@ static int rtnl_register_internal(struct module *owner, * @msgtype: rtnetlink message type * @doit: Function pointer called for each request message * @dumpit: Function pointer called for each dump request (NLM_F_DUMP) message - * @flags: rtnl_link_flags to modifiy behaviour of doit/dumpit functions + * @flags: rtnl_link_flags to modify behaviour of doit/dumpit functions * * Like rtnl_register, but for use by removable modules. */ @@ -254,7 +254,7 @@ EXPORT_SYMBOL_GPL(rtnl_register_module); * @msgtype: rtnetlink message type * @doit: Function pointer called for each request message * @dumpit: Function pointer called for each dump request (NLM_F_DUMP) message - * @flags: rtnl_link_flags to modifiy behaviour of doit/dumpit functions + * @flags: rtnl_link_flags to modify behaviour of doit/dumpit functions * * Registers the specified function pointers (at least one of them has * to be non-NULL) to be called whenever a request message for the @@ -2574,7 +2574,7 @@ static int do_set_proto_down(struct net_device *dev, if (nl_proto_down) { proto_down = nla_get_u8(nl_proto_down); - /* Dont turn off protodown if there are active reasons */ + /* Don't turn off protodown if there are active reasons */ if (!proto_down && dev->proto_down_reason) { NL_SET_ERR_MSG(extack, "Cannot clear protodown, active reasons"); return -EBUSY; -- 2.25.1