Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2429449pxj; Mon, 17 May 2021 01:02:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdKmylQF9Q0tYH4IzuNvQKzK428Qge0N32nYgF7SJzA2RfuhIWPTg8gZPkD03jF3quAGaS X-Received: by 2002:aa7:c4d0:: with SMTP id p16mr72690808edr.102.1621238571312; Mon, 17 May 2021 01:02:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621238571; cv=none; d=google.com; s=arc-20160816; b=T1YXRQXjg7kr/c0wtRhisLmEFXdk5NpCFC/lf7y81SvVxVjpyOVXrS1IShF+R0wOER MSH19Jj6u0IVYE1yurHPNppXG+ASVZM5ONrGdWjt3jMOMRT41ItxpLqBVOlRqE4BukkV X7Xc+Npwiv/jfxRh+LljYT1SYDb+Xi1Mh5KnWJDPUSBXsht0UHQFOtowAfB6vetP1SbL qYmul9GJi9eupi0QkQnVpQBglDxVhWGTotkdRQdXdihIhDldMLeS4GozXtqgBp8BNQRA wQfcsu133NOid7MWZWZuMT0/93EHfSLHoKJATUBoV83fla2i2QN/szzvgkLIwdGKklfC aVPw== 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=7XUy9LMJWRLnN2AGFL/ILT7FdkL8cRGptWqT6VJw4BI=; b=vZNHMcXO01sPX/WUf/P6hWlLbsb4PmX41GP63qWyhEfUYFWVzpKN4y9aVb7X3AiC2R LrZKqzl0vxnLVVxcPbmp8+CC7XtYM48cwFU99VXA3Qen5YpNz+gMEwqvljNsuTloE5AM 6hPOscHZiEN025lGVSzaLkGe0ocw2DRHbid8cbJIb9TLI02Md6Wiso1r9N1nmxSbqWxX d8gaDVXGtIAiYwmLT+LZ/2zQc6N39m+Fhsd4nf8SxdZWjuUjvd677lobP5K+6cV8S4iP 75dRQ5SmAEkMQd6bZ7vvmHtKv5d0i3rv77v0An0xmrLAZytOSWOXHDO1QREIkCLmhGKE 7scw== 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 h15si13898583eje.694.2021.05.17.01.02.28; Mon, 17 May 2021 01:02:51 -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 S235437AbhEQIBF (ORCPT + 99 others); Mon, 17 May 2021 04:01:05 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:3710 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235386AbhEQIAM (ORCPT ); Mon, 17 May 2021 04:00:12 -0400 Received: from dggems705-chm.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FkBK66T9cz16QJx; Mon, 17 May 2021 15:56:10 +0800 (CST) Received: from dggema704-chm.china.huawei.com (10.3.20.68) by dggems705-chm.china.huawei.com (10.3.19.182) 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:54 +0800 From: Yang Shen To: , CC: , , Yang Shen , Jon Mason Subject: [PATCH v2 15/24] net: neterion: Fix wrong function name in comments Date: Mon, 17 May 2021 12:45:26 +0800 Message-ID: <20210517044535.21473-16-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/neterion/s2io.c:2759: warning: expecting prototype for s2io_poll(). Prototype was for s2io_poll_msix() instead drivers/net/ethernet/neterion/s2io.c:5304: warning: expecting prototype for s2io_ethtol_get_link_ksettings(). Prototype was for s2io_ethtool_get_link_ksettings() instead Cc: Jon Mason Signed-off-by: Yang Shen --- drivers/net/ethernet/neterion/s2io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/neterion/s2io.c b/drivers/net/ethernet/neterion/s2io.c index 9cfcd5500462..27a65ab3d501 100644 --- a/drivers/net/ethernet/neterion/s2io.c +++ b/drivers/net/ethernet/neterion/s2io.c @@ -2743,7 +2743,7 @@ static int s2io_chk_rx_buffers(struct s2io_nic *nic, struct ring_info *ring) } /** - * s2io_poll - Rx interrupt handler for NAPI support + * s2io_poll_msix - Rx interrupt handler for NAPI support * @napi : pointer to the napi structure. * @budget : The number of packets that were budgeted to be processed * during one pass through the 'Poll" function. @@ -5288,7 +5288,7 @@ s2io_ethtool_set_link_ksettings(struct net_device *dev, } /** - * s2io_ethtol_get_link_ksettings - Return link specific information. + * s2io_ethtool_get_link_ksettings - Return link specific information. * @dev: pointer to netdev * @cmd : pointer to the structure with parameters given by ethtool * to return link information. -- 2.17.1