Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2275311pxp; Mon, 21 Mar 2022 15:37:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMsDMK1LsJzfgmQtYrOu/LykyNg05Rw9ha+b7rV0IGhezPffcYxWR1bn2fUr7C+idcAET4 X-Received: by 2002:a17:90a:a78f:b0:1bc:8042:9330 with SMTP id f15-20020a17090aa78f00b001bc80429330mr1422722pjq.229.1647902232870; Mon, 21 Mar 2022 15:37:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647902232; cv=none; d=google.com; s=arc-20160816; b=kABqDSPNma8of6rYGuaBTBOUzTm0+LiEAkW5iHY+EfdOIZ7WmXMeroov1weXDy2p9Q OBilDykJbM0+6eGqFM2xc0UmeEG3GEF4lkzi/Ddy3lI43BjSWpE+9QjrTPihQqXeSiQM lj89FP5yLlhyOUdtRyJIlXZcWX514Pma+MuCI/mPHmXjHmExmCnPNkk3dRM753gJdce6 Zeg2uqhubzYYGq7nyQL6ib0EqSqXOqDHZUas4gycbWbLSXblL0BBuWdDEmb6XFRJAB8s c2S7r3G1Z3prR9NDyQB9y1d1ASDfKjrZm7zXVwWJhp6nr9emstNVUbQCSLAjooioPzIa vmxA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=LmeEoF0Zv7ha6/mgMbMRwG4P2a7hZQnIELcKDiheBy8=; b=xG3C8KSsVNVY1EvuTydCGn30JYvKgoyF5Bo+TSlcsZ7ohDsLS4XqKP2WuaIbVYx9lC NsHWL/3R9AnXBNIqRtP1AdIQb6A8p6qXv63An0+ICZOTr3w8WqEyjtgNtVVKCxWg2PSj o30lHY2FTnAcBsFY63GlBVJTpDmNy8R3m2VlD6tdCqCSiSYrSR0uK31JK5/hXgWPVH3Z HxomQnvlPaJZuV4HX4RguWCqlq3VPhXQhxLIxRFZe+z8CwELPfwXOnjWsT2+nd7Wm6Ci +xqKKGyuKgyrgHZbnh0O2FMRBopB76KsNLD0uh8B8MA33oMczWjivWLoJwOfx/efnH7v depQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id k189-20020a636fc6000000b003816043eed6si14579083pgc.203.2022.03.21.15.37.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 15:37:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CD8483BE8A3; Mon, 21 Mar 2022 14:49:36 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242619AbiCSJh3 (ORCPT + 99 others); Sat, 19 Mar 2022 05:37:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240092AbiCSJh2 (ORCPT ); Sat, 19 Mar 2022 05:37:28 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49F7D273806; Sat, 19 Mar 2022 02:36:08 -0700 (PDT) Received: from canpemm500006.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4KLG0p70GHzCqkN; Sat, 19 Mar 2022 17:34:02 +0800 (CST) Received: from localhost.localdomain (10.175.104.82) by canpemm500006.china.huawei.com (7.192.105.130) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Sat, 19 Mar 2022 17:36:06 +0800 From: Ziyang Xuan To: , , , CC: , , Subject: [PATCH net-next v3 3/3] net: ipvtap: fix error comments Date: Sat, 19 Mar 2022 17:53:49 +0800 Message-ID: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.104.82] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To canpemm500006.china.huawei.com (7.192.105.130) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use "macvlan" comment inappropriately in ipvtap module. Fix them with "ipvlan" comment. Fixes: 235a9d89da97 ("ipvtap: IP-VLAN based tap driver") Signed-off-by: Ziyang Xuan --- drivers/net/ipvlan/ipvtap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ipvlan/ipvtap.c b/drivers/net/ipvlan/ipvtap.c index ef02f2cf5ce1..c130cfb30822 100644 --- a/drivers/net/ipvlan/ipvtap.c +++ b/drivers/net/ipvlan/ipvtap.c @@ -83,7 +83,7 @@ static int ipvtap_newlink(struct net *src_net, struct net_device *dev, INIT_LIST_HEAD(&vlantap->tap.queue_list); - /* Since macvlan supports all offloads by default, make + /* Since ipvlan supports all offloads by default, make * tap support all offloads also. */ vlantap->tap.tap_features = TUN_OFFLOADS; @@ -95,7 +95,7 @@ static int ipvtap_newlink(struct net *src_net, struct net_device *dev, if (err) return err; - /* Don't put anything that may fail after macvlan_common_newlink + /* Don't put anything that may fail after ipvlan_link_new * because we can't undo what it does. */ err = ipvlan_link_new(src_net, dev, tb, data, extack); -- 2.25.1