Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2648070pxj; Mon, 17 May 2021 06:40:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqkD4UY2bGV8QBOb6W3Tni0UBrHYKD8KtJmUmY+/6UwkQ5rvsRtm9zbgqfwID6KzOibJVI X-Received: by 2002:a17:906:5448:: with SMTP id d8mr14326509ejp.248.1621258854646; Mon, 17 May 2021 06:40:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621258854; cv=none; d=google.com; s=arc-20160816; b=x0oZIvKTYzNBUh21zD9oVokHBJLeC0X0qlSt3zt4NoBv3e//V9+PWO13Z/02HzqrYr Cc/snUdpeSqC4F9N75MVyOfliyn/xilQV5vY2jlAOtjub8LKk5TrReo9zeFKTbLSgYf7 nvoZL3blUvfEEOnjlqjkIpZusVJiaL6Syziapm1TtAHKs6/eRlx/HlS7wacwxCfJUWFr Y1vJDCEoBdXNohFhXJkR1OUYPbEGLBRGOV/vZFncN5EWeuYZVkmOl4Y52qJOK2iGbQBC CdSLveo90I7Tn0V8f9fGCsHjHs91lrkJdwzRONV58t+qXSaVUQ75X4im3WsnsROwaMdp VnnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=qdF5quG6qlGXVm5qiidCNZ6S+5qz9QW4tH2DnYpZh7Q=; b=lgmE84G3p0k8gSEz9+ngaacpXHY2b5HVhDbVFfmLJvYerxE+70JYYK7owJSyJ7weK1 FT4hxaEmQ/tGFKZBAPUAm/cxdmT0QnU6AkammzVIkX9vtf00DJBtjKHLsRbTMFpLyS/e PBYDLFJUHiWokrlrsxkfeOC0y8mtgen/jloYtE57Lij+kGnuu6wQq9DatR9H2PTclhkL gKl5bT3iLGdEnyhCFrY1HEQ2A+Io6RGZ+kdEGV7AAEYzClOcxCLs+O/Dt1t+qqn+SHgA bEJJ6YbEJExP6kJ7fvOguALPDT6QGxBcqCD87RVplIhFtkM2DBGV7pftrLUnzsgRtEbJ dBgg== 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 g2si13320531edu.441.2021.05.17.06.40.09; Mon, 17 May 2021 06:40:54 -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 S235538AbhEQIBU (ORCPT + 99 others); Mon, 17 May 2021 04:01:20 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:3712 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235507AbhEQIAN (ORCPT ); Mon, 17 May 2021 04:00:13 -0400 Received: from dggems706-chm.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FkBK72NKFz16QfF; Mon, 17 May 2021 15:56:11 +0800 (CST) Received: from dggema704-chm.china.huawei.com (10.3.20.68) by dggems706-chm.china.huawei.com (10.3.19.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Mon, 17 May 2021 15:58:55 +0800 Received: from localhost.localdomain (10.67.165.2) by dggema704-chm.china.huawei.com (10.3.20.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Mon, 17 May 2021 15:58:55 +0800 From: Yang Shen To: , CC: , , Yang Shen , Shahed Shaikh , Manish Chopra Subject: [PATCH v2 18/24] net: calxeda: Fix wrong function name in comments Date: Mon, 17 May 2021 12:45:29 +0800 Message-ID: <20210517044535.21473-19-shenyang39@huawei.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210517044535.21473-1-shenyang39@huawei.com> References: <20210517044535.21473-1-shenyang39@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.2] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggema704-chm.china.huawei.com (10.3.20.68) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c:761: warning: expecting prototype for qlcnic_83xx_idc_cold_state(). Prototype was for qlcnic_83xx_idc_cold_state_handler() instead drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c:192: warning: expecting prototype for qlcnic_83xx_vnic_opmode(). Prototype was for qlcnic_83xx_config_vnic_opmode() instead Cc: Shahed Shaikh Cc: Manish Chopra Signed-off-by: Yang Shen --- drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 2 +- drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c index d2c190732d3e..0a2f34fc8b24 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c @@ -746,7 +746,7 @@ static int qlcnic_83xx_idc_unknown_state(struct qlcnic_adapter *adapter) } /** - * qlcnic_83xx_idc_cold_state + * qlcnic_83xx_idc_cold_state_handler * * @adapter: adapter structure * diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c index c4297aea7d15..711609503ba6 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c @@ -180,7 +180,7 @@ static int qlcnic_83xx_init_non_privileged_vnic(struct qlcnic_adapter *adapter) } /** - * qlcnic_83xx_vnic_opmode + * qlcnic_83xx_config_vnic_opmode * * @adapter: adapter structure * Identify virtual NIC operational modes. -- 2.17.1