Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3618936pxk; Mon, 7 Sep 2020 20:07:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzP/laXIof1sApb2yRaX/sTo+2a9n6fAyihFnVDqDtHwHFGfyc3cX6CEyuBEksGVX/H7NPw X-Received: by 2002:a17:906:c1d7:: with SMTP id bw23mr14071424ejb.171.1599534438273; Mon, 07 Sep 2020 20:07:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599534438; cv=none; d=google.com; s=arc-20160816; b=UgjQWTvxwsIrg2Aj/ayK6NKmugCZ6fQZpSw0DTVHEI/mmzOc7IwpkdO8or0kEkq9pa cumCwTDWD0A3guvGPSkHWyHy9izLVFTmZbY6yF7m9xSUKTJ1xV3k++CaICIq0u77BwPi 3w+DLbl3Fbjy4XdYEMTtlSEeaSJ9S8jxVpQzTHkM44yuDcvNcSH4hNB+JrgKcEIpgzC9 VzYmHGrUtOd7HVL0+rBl47M6IZpJkkRyzrsCed+Z6HvKrvB3ovm3rauDt8eQ4XLUIyPs qeifiBPD0p6cg1x5ZQVA3y0Y3dvNx9HsbstKl/TWzQBBawO2KCVDnX1YWJGFhzlXuOq8 tzLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=7X/SXwMPvsWZy0LdPzYrR6mEHYekLUwuV1Y1lEJjRM8=; b=KCdt3FG2jlWy3XAPTBxNCuAsspsnEMGbYI1qMYiKJZkfCijmWzMoekrpvDalEYtkaZ jdfvlU1JIlE49qXOhbWZth8X+TB2nf31Z78dNBqLLKAv5xIxiG8mHz7P+CUBl6p+ShHd 1lHtW34CVTzsMrQmv+lUBHewscmP1OFo/h3wn+dVce8jQ8ViGxueWyzB1jqOp/NuMFu7 SjXnamB0iPsAA8Ivtm45aKN3TtSmm8Xbc/5dkzj/6f5P/HOIDV9zfxQqPeQCOqhXtGbg NcC/hDnxrq9kNng56X0VYRKkULGNRuNgZmP0pIrc6Xwj6EmggYpAungJEpvUM0655S4V zblw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id yc15si8673149ejb.674.2020.09.07.20.06.56; Mon, 07 Sep 2020 20:07:18 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728797AbgIHDDY (ORCPT + 99 others); Mon, 7 Sep 2020 23:03:24 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:11253 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728188AbgIHDCa (ORCPT ); Mon, 7 Sep 2020 23:02:30 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id A3689E7DA0A572B9E7BF; Tue, 8 Sep 2020 11:02:27 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.487.0; Tue, 8 Sep 2020 11:02:19 +0800 From: Huazhong Tan To: CC: , , , , , , Guangbin Huang , Huazhong Tan Subject: [PATCH net-next 3/7] net: hns3: fix a typo in struct hclge_mac Date: Tue, 8 Sep 2020 10:59:50 +0800 Message-ID: <1599533994-32744-4-git-send-email-tanhuazhong@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1599533994-32744-1-git-send-email-tanhuazhong@huawei.com> References: <1599533994-32744-1-git-send-email-tanhuazhong@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Guangbin Huang The member link of struct hclge_mac stores the link status of MAC and PHY if PHY exists, but its annotation uses word "exit", so fix it. Signed-off-by: Guangbin Huang Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h index 9bbdd45..33e1af1 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h @@ -266,7 +266,7 @@ struct hclge_mac { u32 fec_mode; /* active fec mode */ u32 user_fec_mode; u32 fec_ability; - int link; /* store the link status of mac & phy (if phy exit) */ + int link; /* store the link status of mac & phy (if phy exists) */ struct phy_device *phydev; struct mii_bus *mdio_bus; phy_interface_t phy_if; -- 2.7.4